3 ms·
C# supports duck typing though: http://en.wikipedia.org/wiki/Duck_typing#In_C.23 http://en.wikipedia.org/wiki/Duck_typing#In_C.23
by _random_ 13y ago
C# supports duck typing though:
http://en.wikipedia.org/wiki/Duck_typing#In_C.23 http://en.wikipedia.org/wiki/Duck_typing#In_C.23
- jsmeaton 13y agoYes, but it's not idiomatic C#. The point I've been trying to make is that both kinds of languages (dynamic and static) have their different virtues. You can drop down to dynamic in C#, but unless you have a very good reason, your co-workers will lynch you.
- _random_ 13y agoMakes sense.