Advertisement
ChaosTheosis

Loop Statement

Jan 25th, 2015
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.71 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Tutorial_Project_1.Tutorial_1_Examples
  8. {
  9.     class Loop
  10.     {
  11.         static void Increment()
  12.         {
  13.          
  14.            //For (int value, condition, incrementor / decrementor).
  15.            //Increment = Increase value.
  16.            //Decrement = Decrease value.
  17.            //The ++ is saying increment the value by 1.
  18.            //You are able to store things in letters, f = "Hi.";
  19.            
  20.             for (int titan = 0; titan < 10; titan++)
  21.           {
  22.               Console.WriteLine("titan = " + titan);
  23.           }
  24.         }
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement