Sign in
Sam Ng's Blog
Common Tasks
Blog Home
Email Blog Author
OK
RSS for comments
RSS for posts
Atom
Search Form
Tag Cloud
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)
Browse by Tags
MSDN Blogs
>
Sam Ng's Blog
>
All Tags
>
runtime binding
Tagged Content List
Blog Post:
Dynamic in C# VII: Phantom Method Semantics
samng
By now, my hope is that you all have a well-rounded view of dynamic. We started this series by introducing dynamic and talking about the basics of the feature , and have just finished talking about some of the feature's limitations with the intent that giving both the good and the bad will help us gain...
on
24 Dec 2008
Blog Post:
Dynamic in C# VI: What dynamic does NOT do
samng
As I mentioned last time , there are a few gotchas that we'll need to look at in order to get a full understanding of the dynamic feature and its capabilities. Today we'll take a look at some of those limitations. As we go along, I'll try to shed some insights as to how the decision making process came...
on
15 Dec 2008
Blog Post:
Dynamic in C# V: Indexers, Operators, and More!
samng
Now that we're all experts in how dynamic invocations work for regular method calls, lets extrapolate from our previous discussion about phantom methods a bit and take a look at how those basic concepts apply to other dynamic operations. Today we'll just go through a laundry list of each type of operation...
on
11 Dec 2008
Blog Post:
Dynamic in C# IV: The Phantom Method
samng
Yes, this does sound like a Star Wars movie, but no, I'm not a Star Wars geek that just likes to pull lines from my favorite movies (though I rather enjoyed Star Wars). This post will deal with what we've coined "the phantom method". It's the method that the static compiler will bind to during...
on
10 Nov 2008
Blog Post:
Dynamic in C# III: A slight twist
samng
Last time we dealt with the basics of dynamic binding . This time, we'll add a small twist. First, lets recall the example we were using last time: static void Main( string [] args) { dynamic d = 10; C c = new C(); // (1) Dynamic receivers. d.Foo(); // Call. d.PropOrField = 10; // Property...
on
6 Nov 2008
Blog Post:
Dynamic in C# II: Basics
samng
Last time , we began to dive into dynamic binding in C# and what happens through the pipeline. This time, we'll take a simple scenario and pick apart the details of what happens under the covers, both during compile time and runtime. We can break down what the compiler does into three parts: type and...
on
2 Nov 2008
Blog Post:
Dynamic in C#
samng
The other day I was playing around with some office code, and I found myself writing a lot of code much like the following sample that Anders used at his PDC talk : static void Main( string [] args) { var xl = new Excel .Application(); (( Excel . Range )xl.Cells[1, 1]).Value2 = "Process Name"...
on
29 Oct 2008
Page 1 of 1 (7 items)