Random rnd = new Random(); int number = rnd.Next(64); string retVal = Convert.ToString(number, 2); retVal = retVal.PadLeft(6, '0'); MessageBox.Show(retVal);
int n = 6; var len =Math.Round (Math.Pow(n + 1, .5) + .5);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)