Shared constructors initialize a type's shared data members and are run after the program begins executing, but before any reference to any member of the type. Shared constructors do not overload instance constructors, and may not be overloaded themselves.
Unlike instance constructors, shared constructors are implicitly public, have no parameters and may not call other constructors. Before the first statement in a shared constructor, the shared constructor implicitly performs the initializations specified by the variable initializers of the shared data members declared in the type. This corresponds to a sequence of assignments that are executed immediately upon entry to the constructor. The variable initializers are executed in the textual order they appear in the type declaration.
Shared
Sub
[ Attributes ] New
[ (
)
] LineTerminatorEnd Sub
LineTerminator