Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Program
- {
- static void Main()
- {
- for (int i = 0; i < 10; i++) { Console.WriteLine(i); }
- // In c# there is no difference when used in a for loop.
- // i++ is the same as ++i
- for (int i = 0; i < 10; ++i) { Console.WriteLine(i); }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement