VB.NET / C#.NET

Associate
Joined
26 Jun 2003
Posts
1,140
Location
North West
Im starting .NET soon but im just wondering. If I code an application in VB.NET, can it be written in C#.NET too and work the same?

Can the same be said for any application in these languages?
 
Yes it can, there will be slight differences if you use VB specifics. If you stick to .NET then the only difference should syntax.

TrUz
 
i'm learning .net at the moment

prior to looking into the subject i had just assumed that VB was still C's poorer and less functional cousin

under .net 2 they now both share allmost the same functionality

main difference is in the wording of the syntax's

but usually anything you've written in one can be fairly easy converted to the other :)
 
Yup, it doesn't matter which language you use—in fact, if you download Reflector, you can open up your compiled .NET applications and view the decompiled source in VB.NET, C#, MC++, or Delphi. :)
purejamie said:
Just to point out, there are a few inaccuracies in there: the autocompletion support in C# is actually just as good as that in the VB.NET environment (I actually find it to be more helpful as it doesn't try and do things you don't want it to).

But yes, it's largely down to preference in syntax, although in my opinion C#'s is terser, more versatile and just nicer to work with generally. :)
 
Inquisitor said:
Just to point out, there are a few inaccuracies in there: the autocompletion support in C# is actually just as good as that in the VB.NET environment (I actually find it to be more helpful as it doesn't try and do things you don't want it to).

Agreed, the whole article has a bias towards VB.Net - however, it does get accross the main points (as you state) quite well. Just learning .net and the programming principles around it can be more important than which language you use.
 
Back
Top Bottom