Geeks With Blogs
Fórmulas e Cenas Object Reference Not Set to an Instance of an Object

Well, this one i simply cannot understand... why anyone would do +0 after and int.parse. Any Ideas?

int myVar = Int32.Parse(ConfigurationManager.AppSettings["mySetting"] + "") + 0;


Posted on Monday, March 15, 2010 7:52 AM Geral , C# , Fun | Back to top

Comments on this post: WTF #3

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Sglima | Powered by: