It is not possible directly but you can do by customizing your code.
following code gives you list of files regardless of extension
string[] filePaths = Directory.GetFiles(@"C:\MyDir\", "1.*",SearchOption.AllDirectories);
it will return files having name 1 with all extensions.