Actually, if memory serves, C# is supposed to gain this feature at some
point(I don't know if it'll be 2.0 or longhorn time frame however). The
syntax was supposed to be something like
public static class Class1
{
public static void Class1Method()
{
}
}
I forget where I read that, and it may not be true any longer, but it seems
to me that it was being added.
On the other hand, if the op is talking about netmodules, I also recall
reading about an addition to whidbey that adds easier use of them, but again
I don't know where I read that or if its valid offhand.
"Robert Jacobson" <rj**********************@nospam.com> wrote in message
news:ef**************@TK2MSFTNGP12.phx.gbl...
Do you mean like a VB.Net module? If so, probably not. A VB.Net module
is really just a sealed(NotInheritable) class with static (Shared) members,
so there isn't any particular need for the "module" syntax in C#. For
example, these code snippets are identical:
Module Module1
Sub Main()
DoSomething()
End Sub
End Module
sealed class Module1 {
static void Main() {
DoSomething();
}
}
For details:
"Visual Basic .NET Internals"
http://msdn.microsoft.com/library/de...tinternals.asp
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:Os**************@TK2MSFTNGP12.phx.gbl... Are there any plans to support C# modules in VS.NET in a future version.