generate a random file name in C#

Madhu.b.rokkam
Posted by Madhu.b.rokkam under C# category on | Points: 40 | Views : 2939
string randomfileName = Path.GetRandomFileName();
Console.WriteLine(randomfileName);

output
xniqvhoa.i51

Comments or Responses

Login to post response