Link Details

Link 79863 thumbnail
User 225256 avatar

By mswatcher
via blogs.msdn.com
Published: May 08 2008 / 11:28

What will the following code output? When you think you know, copy the code into Foo.cs and run “csc Foo.cs” and then run “Foo.exe”. Did it output what you expected? The brain teaser is to come up with the correct explanation for why the program outputs what it does.
  • 5
  • 0
  • 793
  • 258

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (5)



Voters Against This Link (0)