Role of new keyword

Describe the role of new keyword in brief.

E

Expert

Verified

New is employed to initialize a new object. We set a variable to any data type by using help of New keyword. The New keyword provides a value to the variable. We can as well employ new keyword to initialize the object variable.

Illustration: dim obj as new SqlDataAdapter.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.