Get Random File Name in CSharp
Description
The following code shows how to get Random File Name.
Example
//w ww .jav a 2 s . c o m
using System;
using System.IO;
class MainClass
{
public static void Main()
{
Console.WriteLine( Path.GetRandomFileName() );
}
}
The code above generates the following result.