.NET Questions (CLOSED)

Questions and Answers on any aspect of .NET. Now closed.

This discussion group is now closed.

Have a question about .NET development? Try stackoverflow.com, a worldwide community of great developers asking and answering questions 24 hours a day.

The archives of .NET Questions contain years of Q&A. Even older .NET Questions are still online, too.

How to declare a static Hashtable

I have a .Net 2.0 class and want to declare a Hashtable member variable Static, but the compiler says this is not allowed. This is so doable in Java, how can I do this in VB?
Thanks!
Full name:
Thursday, January 04, 2007
 
 
VB .NET has Static, but it means something different; I suspect Shared is what you're looking for.
Kyralessa Send private email
Thursday, January 04, 2007
 
 
If you know Java well, you might want to switch to C# because it is more similar to Java than VB.Net.
Roger Jack Send private email
Thursday, January 04, 2007
 
 
Thanks for the feedback. I'll look into 'Shared'. This shop went vb long ago and no talk about going C#.
Full name:
Thursday, January 04, 2007
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz