tags:

views:

102

answers:

4

Does VB.NET have more types than C#?

+9  A: 

No, they are under the same .NET Framework, the only thing VB.NET has by default is a reference to Microsoft.VisualBasic.... namespace.

pablito
+1  A: 

Well the VB.NET has some stuff for backward compatibility with vb6 but you can access the moste of it from c# if you add a reference to the right assembly.

Petoj
+2  A: 

VB.NET lacked support for unsigned types back in the day, but now it's fixed. And since all these languages are CLR ones, the set of types is equivalent. VB.NET still has some weird old-school compatibility aliases (like Date and some others I can't remember) but these are just aliases to standard CLR types.

Anton Gogolev
Not worth adding a full answer to include these points: VB.NET now also has the My Namespace, which can be seen as extra types, to some extent. VB.NET still can't handle true pointer types.
Mark Hurd
+3  A: 

Types in both languages refer to the same Intrinsic CTS Data Types. (CTS = Common Type System)

Gerrie Schenck
I think that out of all the answers, this is the perfect one! ;-)
Cerebrus
Too bad another one has already been accepted ;)
Gerrie Schenck