Classes A class is a user defined object or type construct that allows you to group together fields, properties and methods into a custom type that behaves in a consistent way. A class is a reference type; when an instance of a class is instantiated, an object reference is returned to the calling function, not …