public static string GetRecordId(int count)
{
Random rdn = new Random();
string str = "";
string[] arraylist = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F" };
for (int i = 0; i < count; i++)
{
int number = rdn.Next(0, 15);
if (i == 0)
{
number = rdn.Next(1, 15);
str = arraylist[number];
}
else
{
str += arraylist[number];
}
}
return str;
}