Skip to content
 

First Post

Welcome, i’m Isaac :)

for the next and many posts to come, i will help and guide you on many subjects related to software and hardware issues.

of course, if you have any specific questions , feel free to write back or post a comment!

 :)

Isaac.

3 Comments

  1. BtipTrader says:

    Hi, isaac

    How can i get a random number in C#??
    i need it for my game project…

    thanks

  2. admin says:

    Use the Random class as follows:

    Random rnd = new Random();
    Int randomInt = rnd.Next();

    if you want a series of random number, continue using the Next method.
    if you’ll create a new Random instance for every new number, you’ll see duplicated results. (and of course, they’re not random!)

  3. BtipTrader says:

    thanks,
    it’s work perfect!

Leave a Reply