1876
Developer's Corner / Re: C# & Visual Studio Problem
« Last post by f0dder on January 16, 2011, 08:17 AM »Your example there doesn't use any local variables declared in the else clause. While it "works", you can't debug it properly as the values aren't available.Yeah, that's what this whole thread is about, right?-Renegade (January 16, 2011, 07:51 AM)

I thought your "In short, in C++ or C# (and possibly all other .NET languages or in VS 2010 or something like that), you CANNOT use" mean that the compiler forbids it, like Java forbids unreachable code (C# just warns about it).

Recent Posts
):