csharp random.Next error

Code Example - csharp random.Next error

                
                        public System.Random r = new System.Random();
public int guess1 = r.Next(0, 100000);