Longest Common Prefix with C# and LINQ