By tag: DuckTyping
0
kicks
A first look at Duck Typing in C# 4.0
A complete end-to-end C# 4.0 example with source code using IDynamicObject and MetaObject in order to generate a fully dynamic type using a Dictionary as storage. It also shows how a dynamic type can enter the static typed world and act just like a typed class - dynamically. :)
0
kicks
Dependency Injection, Duck Typing, & More Coming to .Net (Natively)
Krzysztof Cwalina reveals details on .Net's upcoming Managed Extensibility Framework. "MEF is a set of features referred in the academic community and in the industry as a Naming and Activation Service (returns an object given a “name”), Dependency Injection (DI) framework, and a Structural Ty...
0
kicks
C# 3.0 Collection Initializers, Duck Typing and ISupportsAdd
Some thoughts and brainstorming about how to make collection initializers more universally usable, and some thoughts about duck typing in C#.