Why do i need to create an instance of Random class, if i want to create a random number between 1 and 100 ....like
Random rand = new Random(); rand.Next(1,1
Creating a short-lived instance in C# is almost free. Don't waste your time worrying about this. You probably have better places to look for perf or memory gains.