Archive for the ‘C#’ Category
It is not possible to overload the = assignment operator. However, when you overload a binary operator, its compound assignment equivalent is implicitly overloaded. For example, if you overload the + operator, the += operator is implicitly overloaded in that the user-defined operator+ method will be called. The [] operators can’t be overloaded. However, user-defined [...]
