Chapter 10 Quick Reference


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.

Microsoft Visual C++  .NET(c) Step by Step
Microsoft Visual C++ .NET(c) Step by Step
ISBN: 735615675
Year: 2003
Pages: 208 © 2008-2017.
If you may any questions please contact us: