C#/.NET Little Pitfalls: Operators are Overloaded, not Overridden

added by BlackRabbitCoder
7/7/2011 7:15:42 PM

113 Views

C# (and .NET in general of course) is a wonderful language for modern programming, but occasionally there are things that may be syntactically legal, but can bite you if you aren’t aware of what is actually going on behind the scenes and/or use them incorrectly.  This is my second post in the Little Pitfalls series where I explore these small pitfalls and discuss how to avoid them.  This week I'm discussing operator overloads and how people often incorrectly consider operators as overrides by mistake.


0 comments