Sign in
Sam Ng's Blog
November, 2007
Search
Tags
C# 4.0
Channel 9
CLR
CLS compliance
COM
Default parameters
DLR
Dynamic
Events
Foreach Statements
Generics
Indexed Properties
Interop
Lambda Expressions
Local Variable Scoping
Named arguments
Omit Ref
Optional arguments
Optional Modifiers
Overload Resolution
Runtime binding
SoCal CodeCamp
Type Inference
Using Statements
Variable redeclaration
Monthly Archives
Archives
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)
Common Tasks
Blog Home
Email Blog Author
OK
RSS for comments
RSS for posts
Atom
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 6 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 6 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 6 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 6 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)