Coffeehouse Post

Single Post Permalink

View Thread: C# interview question
  • User profile image
    TheSchwartz

    Hopefully I'm not the only one who likes code puzzles?  What happens with this block:

    -------------------------

    int i;

    for (i=0; ;i++)
    {
       Console.Writeln(i);
    }

    -------------------------

    Jon Schwartz
    35 freeware .NET/SQL tools
    www.ms-inc.net