By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,581 Members | 1,811 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,581 IT Pros & Developers. It's quick & easy.

C# .NET versus VB .NET

P: n/a
I'm just getting into the .Net experience from a VC++ (6.0) background, and
am looking at the .Net languages.

Just wondering what the differences are, in your opinion, between C# and VB,
dispite the obvious syntax changes between the two where '}' is 'End Sub',
and the fact you can still have "modules" in VB, where as C# is toltally OO.
The .Net libraries that are exposed to both seem to be identical, so what
advangtages/disadvantages, would one have over the other?

Or are they just both for different people, coming from differing
programming background, doing essentially the same thing?

Thanks. =o)
Dan.

Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Cor
Daniel,
You did self give the answers, with exception from totally OO that is too
the same for VB.net and C#.
You don't have to use a module (although it is sometimes very handy when you
can behave yourself)
For VB programmers is too important the absence of the "==" what gives
sometimes misunderstandings, when you have to use both at the same time and
that the fact that is not necessary to use Uppercase. (The Ide changes that
automatically for you).
While the Microsoft.Visual.basic functions and some more of those things are
not in C#, there are some things as operand overloading and xml
documentation not in VB. The end code is the same.
So mostly I think like you said a matter of taste and your background and I
think that when you are a typical mathematical thinker it would be C#,
while when you more someone who likes to describe things in a natural
language your choice is VB.
Cor
Nov 20 '05 #2

P: n/a
"Daniel Bass" <da********@NOSPAMpostmaster.co.uk> schrieb
I'm just getting into the .Net experience from a VC++ (6.0)
background, and am looking at the .Net languages.

Just wondering what the differences are, in your opinion, between C#
and VB, dispite the obvious syntax changes between the two where '}'
is 'End Sub', and the fact you can still have "modules" in VB, where
as C# is toltally OO. The .Net libraries that are exposed to both
seem to be identical, so what advangtages/disadvantages, would one
have over the other?

Or are they just both for different people, coming from differing
programming background, doing essentially the same thing?

Thanks. =o)
Dan.


Search the group (and others) and you'll find 1001 discussions.
--
Armin

Nov 20 '05 #3

P: n/a
Hi Daniel and Cor,
Personally I think the number one thing VB has to offer is intuitive syntax
both in terms of logical statements and the built in command names. Also
with VB Commenter included in PowerToys 2003 you can use XML commenting.
However I will start right now by saying that I personally couldn't get that
to work :).

My Bug:
http://www.gotdotnet.com/Community/W...spx?bugid=4504

The project page:
http://www.gotdotnet.com/community/w...a-86bdf39a17dd

Did anyone get this thing to work?

Cheers,
Christian
"Cor" <no*@non.com> wrote in message
news:3f***********************@reader21.wxs.nl...
Daniel,
You did self give the answers, with exception from totally OO that is too
the same for VB.net and C#.
You don't have to use a module (although it is sometimes very handy when you can behave yourself)
For VB programmers is too important the absence of the "==" what gives
sometimes misunderstandings, when you have to use both at the same time and that the fact that is not necessary to use Uppercase. (The Ide changes that automatically for you).
While the Microsoft.Visual.basic functions and some more of those things are not in C#, there are some things as operand overloading and xml
documentation not in VB. The end code is the same.
So mostly I think like you said a matter of taste and your background and I think that when you are a typical mathematical thinker it would be C#,
while when you more someone who likes to describe things in a natural
language your choice is VB.
Cor

Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.