B
Bruno Neves Pires Silva
Hello, programmers.
What is the equivalent to the namespace My from VB in c#?
Thanks in advance
What is the equivalent to the namespace My from VB in c#?
Thanks in advance
Mark Rae said:Apologies - you're quite correct. I misread the OP...
http://msdn.microsoft.com/en-us/library/ms173136.aspx
I think the "My" namespace is a marvelous invention that both cuts down onMark said:VB.NET "training wheels"...
I love defending VB against C# programmers, even though I'm primarily a C#
programmer myself; there's really not enough love across the cultural
divide
Apologies - you're quite correct. I misread the OP...http://msdn.microsoft.com/en-us/library/ms173136.aspx
Yes, we've all been taught that's not O-O. Then again, that's not the pointCor said:The My namespace is only available as static and using static members is
something I always try to avoid.
Mark has showed already how the namespace My can be standard used in C#.
Only if your application is particularly simple and uninteresting. ThenIt is simple Net developing. VB, C# and C++ are just kind of glues to construct an application with that.
Soapboxing ends. I love defending VB against C# programmers, even though
I'm primarily a C# programmer myself; there's really not enough love
across the cultural divide.
It would make a lot more sense for VB to actively cultivate its image of aJeff said:Soapboxing ends. I love defending VB against C# programmers, even though
I'm primarily a C# programmer myself; there's really not enough love
across the cultural divide.
I came to C# from VB6, and I'll happily defend VB<number> from the C[symbol]
snobs, but in this case I agree with the "training wheels" sentiment. .NET
was a great time for VB to shed its image of being a toy language, but the
inclusion of toy boxes makes that hard to do.
I wasn't, I was talking about its *image* as such.Cor said:Why are you speaking in this newsgroup solely about VB for Net as a toy
language.
By *all* means.But please let us close this discussion, this is not a VB newsgroup.