Compiler-generated scopes for local variable declarations (blogs.msdn.com)
submitted by
CharlieCalvert(7835) 2 years, 3 months ago
I was tasked with understanding and fixing a bug on error reporting with foreach iteration variables the other day, and it got me thinking about local variable scoping rules in C# in general. First, the bug.
|
category: C#
|
Views: 2
tags:
C# another
Everyones tags:
Your Tags: