Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Program
- {
- static void Main()
- {
- Console.WriteLine("Some Random Numbers that are generated are : ");
- for (int i = 1; i < 10; i++)
- {
- Randfunc();
- }
- }
- static Random r = new Random();
- static void Randfunc()
- {
- int n = r.Next();
- Console.WriteLine(n);
- Console.ReadLine();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement