Here is the random Function
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RandomExample { class Program { static void Main(string[] args) { Random rand = new Random(); int number=rand.Next(1, 1000); Console.WriteLine(number); Console.ReadKey(); } } }
No comments:
Post a Comment