Path.GetRandomFileName()
using System; using System.IO; class MainClass { public static void Main() { Console.WriteLine( Path.GetRandomFileName() ); } }