|
| To | Do this |
|---|---|
| Overload operators for value types. | Implement the appropriate op_ function as a static member of the type. |
| Implement equality tests. | Overload == and !=, and provide an overload of Equals for the benefit of other .NET languages. |
| Overload operators for reference types. | Use pointers for argument and return types. |
|