"If at first you don't succeed; call it version 1.0" :-Unknown

Pages

Sunday, January 9, 2011

Random hexadecimal Numbers

Hi ,
2day i'm showing u some creating random hexadecimal numbers
 Code:

                Random _random = new Random();
                int i = 0;
                string _randomValue = string.Empty;
                for (i = 0; i < 100; i++) // Set the count here
                {
                    _randomValue = _randomValue +" , "+ _random.Next().ToString("X");
                }
                lbl_ErrMsg.Text = _randomValue.ToString();




Have a nice day... 'N happy Coding :)

No comments: