I got a Utility module since VB.NET doesn't have static class like C# and Module is the static class in VB.NET. The reason that I use module is because I'm using the Extension method and it can only be use in Module.
I can't reference to this module but if I put my code in a class. I can reference to it without any problem. What could be the reason? I missed C#.
Edit: The module is inside a class library call Utility.
The Module statement declares the name of a module and introduces the definition of the variables, properties, events, and procedures that the module comprises. It defines a reference type available throughout its namespace.
The main difference between classes and modules is that classes can be instantiated as objects while standard modules cannot.
You need to mark the module as Public Module.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With