Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.IO;
- namespace ConsoleApp19
- {
- class Program
- {
- static void Main(string[] args)
- {
- StreamWriter wr = new StreamWriter("D:\\numbers.txt");
- Random rand = new Random();
- for(int i = 0; i < 10; i++)
- {
- wr.WriteLine(rand.Next(0, 100));
- }
- wr.Close();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement