VB.NetLanguage 2024-09-04 VB.Net - Class Declaration About Public Classes if properties, methods, and functions are contained in one file, then use Public Class MyClass. If 2 or more files contain the the contents of the class, then ALL files should be declared Partial Public Class MyClass.