Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main(string[] args)
- {
- FileStream text = new FileStream("c:\\numbers.txt", FileMode.Create);
- StreamWriter writer = new StreamWriter(text);
- for (int i = 0; i <= 501; i++)
- {
- writer.Write(i);
- }
- writer.Close();
- }
Advertisement
Add Comment
Please, Sign In to add comment