No, the closest you get right now is a class with only static members
and a private constructor.
In the next version of C# there's a new feature called "static
classes" which adds some additional constraints and gets you even
closer to the VB Module behavior.
OK, that's what I was looking for. I'm porting a couple VB.NET
ServicedComponents (a few have .bas modules) to C#. My plan is to create a
public class with static methods as you recommended.
Thanks,
Kevin
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.