CSharp examples for Language Basics:for
What does this program do? Nested for loop
class AClass//from w ww . j a va 2 s. c o m { static void Main() { int x,y; for ( x = 0; x < 10; x++, System.Console.Write( "\n" ) ) for ( y = 0; y < 10; y++ ) System.Console.Write( "X" ); } }