Is operator overloading supported in C#?

Technology CommunityCategory: C#Is operator overloading supported in C#?
VietMX Staff asked 3 years ago

You can redefine or overload most of the built-in operators available in C#. Thus a programmer can use operators with user-defined types as well.

Overloaded operators are functions with special names the keyword operator followed by the symbol for the operator being defined. Similar to any other function, an overloaded operator has a return type and a parameter list.