Console.WriteLine("All files:");
foreach (var f in Directory.GetFiles(@"E:\TEMP"))
Console.WriteLine(f);
Console.WriteLine("Pattern *.lon:");
foreach (var f in Directory.GetFiles(@"E:\TEMP", "*.lon"))
Console.WriteLine(f);
Console.WriteLine("Pattern *.long:");
foreach (var f in Directory.GetFiles(@"E:\TEMP", "*.long"))
Console.WriteLine(f);