Random file name
In this chapter you will learn:
Generate random file name
using System;//from j a v a2 s .co m
using System.IO;
class MainClass
{
public static void Main()
{
Console.WriteLine( Path.GetRandomFileName() );
}
}
The code above generates the following result.
Next chapter...
What you will learn in the next chapter:
Home » C# Tutorial » File, Path