using System; using System.IO; class DisplayDirectory { static void Main() { string[] files = Directory.GetFiles("."); foreach (string file in files) { Console.WriteLine(file); } } }
Programming Course in C# ¡Free!
using System; using System.IO; class DisplayDirectory { static void Main() { string[] files = Directory.GetFiles("."); foreach (string file in files) { Console.WriteLine(file); } } }