Lecture overview -- Keyboard shortcut: 'u'  Previous page: Instantiation of classes -- Keyboard shortcut: 'p'  Next page: Initialization of objects -- 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 25 : 29

Instantiation of classes in C#

Classes must be instantiated dynamically with use of the new operator

The new operator returns a reference to the new object

Point.cs
The class Point.
Client.cs
Use of the class Point in a client class called Application.
output
Output from the Point client program.