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
2009-02-12 07:48:58
+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
2009-02-12 07:49:34
+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
2009-02-12 07:53:48
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
2010-09-04 06:24:42
+3
A:
Types in both languages refer to the same Intrinsic CTS Data Types. (CTS = Common Type System)
Gerrie Schenck
2009-02-12 07:55:44