Lecture overview -- Keyboard shortcut: 'u'  Previous page: Initialization of objects -- Keyboard shortcut: 'p'  Next page: Copy constructors -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Classes and Objects - slide 27 : 29

Constructors in C#

A constructor is a special method which is called automatically in order to initialize a new instance of a class

Constructors in class BankAccount.
Improved constructors in class BankAccount.
Constructors in the class Die.