Get a new instance of ehswitch class.
|ehswitch||A new instance of ehswitch class. This instance has not been initialized.|
ehswitch e = new ehswitch();
It is an automatically generated default fitter. It returns an instance as same as getting by the variable declaration.
The instance returned by this fitter has not been initialized.
The ehswitch will only appear as an return value of event handler assignment or the EHSwitch getter of event handler argument.
Normally you do not need to create an instance of the ehswitch class.
Links for reference