By tag: Overloading
Ban this user: Options
Please provide a reason for deleting this story
It’s a good rule of thumb to overload the equality operators on classes. That ensures a correct comparison between to class instances of the same type. If you don’t, .NET automatically uses reflection and that is way slower than a custom implementation. We all use the equality operators (“==”, “...