Duck Casting Framework / Duck Typing

What is Duck Casting / Duck typing Framework ? (also sometimes incorrectly described as Latent Typing as Ian Griffiths explains in his campaign to disabuse that notion ) for .NET languages The term duck typing is popularly explained by the phrase If it walks like a duck and quacks like a duck, it must be a duck. Wiki Says: In computer programming with object-oriented programming languages, duck typing is a style of typing in which an object's methods and properties determine the valid semantics, rather than its inheritance from a particular class or implementation of an explicit interface. The name of the concept refers to the duck test. What it actually means: Duck typing allows an object to be passed in to a method that expects a certain type even if it doesn’t inherit from that type. All it has to do is support the methods and properties of the expected type in use by the method. I emphasize that last phrase for a reason. Suppose we have a method ...