|
|
Instantiation of classes in C# | C# uses the new operation for dynamic instantiation of classes.
Static instantiation cannot be used for classes in C#.
As we will see later, static instantiation is used for stucts.
|
Classes must be instantiated dynamically with use of the new operator The new operator returns a reference to the new object |
Read more about instantiation of classes in the text book version of this material. |