Constructors and Destructors

You design C# constructors and destructors by clicking the AddDefault Constructor/Destructor button in the list of operations of a class. This automatically creates a constructor with the Constructor stereotype, and a destructor with the Destructor stereotype. Both constructor and destructor are grayed out in the list, which means you cannot modify their definition.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com