What is the equivalent C# code for this VB.NET code?
My.Computer.FileSystem.GetFiles(....)
The My class is VB.NET specific.
You can use the static methods of the System.IO.Directory class - e.g. Directory.GetFiles.