microkarl Posted September 25, 2005 Posted September 25, 2005 Hi, all I am a vb.net programmer and I usually like to "module" to seperate a bundle of functions from my main namespace and class. This is because sometimes I want other classes to access to it while these functions are simply enough that I don't want to make them into classes seperately. But, I don't think I can use module in c#, is there anyway I can achieve the same or a simailiar result if I use C#. Thanks! Quote Donald DUCK : YOU ARE FIRED!!!
bri189a Posted September 25, 2005 Posted September 25, 2005 The compiler makes VB modules into a specialized class; so you can just use a class in C# since that's what you're doing in VB but just don't know it by looking at the code. Quote
IngisKahn Posted September 25, 2005 Posted September 25, 2005 That's what static classes are for. :) Quote "Who is John Galt?"
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.