Browse by Tags

All Tags » Design/Coding Guidance » C# » C# 4.0 (RSS)

Using the dynamic Keyword in C# to Improve Object Orientation – A Follow-up

Based on some feedback, some clarification is warranted with regard to my previous post titled “ Using the dynamic Keyword in C# to Improve Object Orientation ”. As Jarek Kowalski correctly pointed out, the example code that I provided could have used...

Using the dynamic Keyword in C# to Improve Object-Orientation

With polymorphism, object-oriented languages allow "...different data types to be handled using a uniform interface". Ad-hoc polymorphism is when you declare multiple methods of the same name but differ by the type of an argument. For example...