Created
August 20, 2013 17:41
Revisions
-
EricSchultz created this gist
Aug 20, 2013 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ public void SomeMethod(){ if (SomeCondition()) { string name = "something"; //use name here } string name = "something else" //COMPILER ERROR: name is already declared in this scope... BUT it's not!!! } //Yes I know why the compiler thinks it is and it's correct BUT it's still annoying