I am having a "weird" situation of my VB.Net modules, as per my understanding,
Public Function FunctionA() As Boolean
Public Function FunctionB() As Integer
Module doesn't technically mean static class. Static in VB.net (with regard to functions) is
Shared, and there is no
Shared Class. What I think you want is a sealed/abstract/not-inheritable class with static/shared functions (you'll be able to call the functions without an instance of the parent class, but you'll still have to reference the parent class when calling the function). If that's the case, then do something similar to the following:
Public NotInheritable Class HelperA Public Shared Function FunctionA() as Boolean Return True End Function End Class
Having said that, the only difference I've found—at least for practical purposes—between a shared function and a module function is that module functions can be called without referencing the module.