Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main()
- {
- int number = int.Parse(Console.ReadLine());
- for (int index = 1; index <= number; index++)
- {
- Console.Write("{0} ", index);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement