static class clsMAKAT
{
static public string GetMAKAT()
{
Random rnd = new Random();
int range = 'Z' - 'A' + 1;// all the letters
range += 10;// add the digits 0..9
string strMKT = "";
for(int j=0;j<4;j++)
{
int i = rnd.Next(0, range);
if (i > 9) // 0..9 digits 10..what ever charecters A..Z
i += 'A' - 10;// charecters
else
i += '0';// digits
strMKT +=(char)i;
}
return strMKT;
}
}