Mod test : Mod : Language Basics C# Source Code


Custom Search

C# Source Code » Language Basics » Mod »

 

Mod test









    

/*
Learning C# 
by Jesse Liberty

Publisher: O'Reilly 
ISBN: 0596003765
*/
 using System;
 public class ModTester
 {

     public static int Main()
     {
         for (int counter=1; counter<=100; counter++)
         {
             Console.Write("{0} ", counter);

             if ( counter % 10 == 0 )
             {
                 Console.WriteLine("\t{0}", counter);
             }
         }
         return 0;
     }
 }

           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Language Basics
» Mod