I looked on the Internet to find out if there are good examples of how to initialize shared members inside a class when initializing instance variables. I found an expression that is suitable for the answer:
Shared Sub New() 'Declare shared members End Sub
But you also have a standard
Sub New() 'Declare instance members End Sub
How to initialize both instances and shared members without reinitializing shared members each time an object is created from a class?
source share