10. Dynamic Programming in VS 2008 ( taking Reflection as one example ) Compiler Generates reflection-based goo Compiler Does not generate anything
11. Dynamic Programming in VS 2010 Generated Code Uses System.Dynamic Compiler Compiler Like object but with dynamic method resolution & dispatch Plain CLR Object? IDispatch COM object? Implementation of IDynamicObject? Run-time type?
14. Variance with Generic Types Concrete Examples NB: Snippets compile but (intentionally) throw at runtime in VS2008 here Strings are objects? Strings are objects? Safe if the caller cannot pass object references to the implementation Safe if the implementation cannot pass object references to the caller