Welcome to MSDN Blogs Sign in | Join | Help

November 2007 - Posts

Technorati Tags: Events One of the things that the language designers considered when designing the C# language was the ability to notify external callers of certain events happening. To solve this problem, they (surprise surprise) introduced the event Read More...
In my previous post, Compiler-generated scopes for local variable declarations , I briefly touched on the issue of multiple meanings applied to the same name. In this post, I'll aim to flush out the compiler's rules with regards to binding names in their Read More...
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. The Bug Consider the following code: class Read More...
Hi there. My name is Sam Ng, and I'm a developer on the C# compiler team. This here's my little outlet of random stuff that I think about, and things that I learn as I dig deeper into the wonderful world of software. Who am I? I'm currently a developer Read More...
 
Page view tracker