It might be helpful,
static string GenerateFilenameUsingGuid(string prefix, string extension)
{
return string.Concat(prefix, Guid.NewGuid().ToString().Replace("-", string.Empty), extension);
}
static string GenerateFilenameUsingRandomNumber(string prefix, string extension)
{
return string.Concat(prefix, new Random().Next(), extension);
}
:)