What class and how to declare a class in VB.net?
Each object in VB.Net is defined by the class. A class can act as a data type and describe the variables, procedures, and properties of any given object. As we know, objects are just instances of different classes; and it is possible to create as many objects as we want once we have defined a class. In short, a Class is a collection of different objects of similar types.
Public height As Double 'This is Height of a box'