Generating Random Number

Let's see how to generate random number:

            //Generate Random Number Here
            int ID = 0;
            Random ran = new Random();
            ID = ran.Next();
Ebook Download
View all
Learn
View all