Sign In
Sam Ng's Blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
C# 4.0
Channel 9
CLR
CLS compliance
COM
Default parameters
DLR
Dynamic
Generics
Interop
Lambda Expressions
Local Variable Scoping
Method Type Inference
Named arguments
No PIA
Omit Ref
Optional arguments
Optional Modifiers
Overload Resolution
Runtime binding
SoCal CodeCamp
Type Inference
Using Statements
Variable redeclaration
Windows Azure Media Services
Archive
Archives
May 2012
(2)
February 2012
(1)
January 2010
(1)
November 2009
(2)
June 2009
(1)
April 2009
(2)
February 2009
(1)
December 2008
(3)
November 2008
(4)
October 2008
(3)
March 2008
(2)
February 2008
(1)
December 2007
(1)
November 2007
(4)
November, 2007
MSDN Blogs
>
Sam Ng's Blog
>
November, 2007
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Sam Ng's Blog
Virtual Events in C#
Posted
over 5 years ago
by
samng
3
Comments
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...
Sam Ng's Blog
Local variable scoping in C#
Posted
over 5 years ago
by
samng
7
Comments
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...
Sam Ng's Blog
Compiler-generated scopes for local variable declarations
Posted
over 5 years ago
by
samng
6
Comments
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...
Sam Ng's Blog
Another compiler dev
Posted
over 5 years ago
by
samng
0
Comments
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...
Page 1 of 1 (4 items)