Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Class Constructors

In this section, three kinds of class constructors are discussed:

Type of class constructor Comments
Instance Used to create and initialize instances of the class.
Private A special type of instance constructor that is not accessible outside the class. A class cannot be instantiated using a private constructor.
Static Called automatically to initialize the class before the first instance is created or any static members are referenced. The constructor cannot be called directly.

See Also

Constructors and Destructors

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft