Created
August 17, 2012 09:08
-
-
Save bartelink/3377237 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static class Program | |
{ | |
static void Main() | |
{ | |
var x = new { a=0, b=1 }; | |
f( x ); | |
} | |
static void f(dynamic x) | |
{ | |
Console.WriteLine(x.b); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment