Home Articles Contact Us Client Area Register Login

Instantiation in ASP.NET C#

Mark Pringle - Tuesday, December 06, 2022

In the ASP.NET C# programming language, any time you create a new object (using the new operator keyword) based on some model or class, it is said that the model or class has been instantiated.

Employee e1 = new Employee();
Employee e2 = new Employee();
Employee e3 = new Employee();

Above, three Employee objects have been instantiated from and Employee class. It might be likened to cloning a class by giving it a unique name.