473,405 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

C# .NET versus VB .NET

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
3 2787
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
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Dieter Vanderelst | last post by:
Dear all, I'm currently comparing Python versus Perl to use in a project that involved a lot of text processing. I'm trying to determine what the most efficient language would be for our...
33
by: Joshua D. Drake | last post by:
Hello, I think the below just about says it all: http://www.commandprompt.com/images/mammoth_versus_dolphin_500.jpg Sincerely, Joshua Drake
2
by: Andrew Robinson | last post by:
I need to create a shared static field for use within a number of different classes. Which one should I be using or are they all really the same thing? public class Widget { private Widget() {}...
2
by: Jon Lapham | last post by:
I have a table that stores TEXT information. I need query this table to find *exact* matches to the TEXT... no regular expressions, no LIKE queries, etc. The TEXT could be from 1 to 10000+...
135
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about...
1
by: johnpa60 | last post by:
Hello Anyone here has seen any materials on comparing DB2 CM versus Domino Doc Server? Can you please point me? If any of you have worked on both products, can you please spend few minutes...
42
by: John Doty | last post by:
I realized that I have a little job on the table that is a fine test of the Python versus Standard Forth code availability and reusability issue. Note that I have little experience with either...
13
by: blangela | last post by:
I have decided (see earlier post) to paste my Word doc here so that it will be simpler for people to provide feedback (by directly inserting their comments in the post). I will post it in 3 parts...
2
by: John LaRusic | last post by:
Hi all, I'm fairly new to the world of schemas, but I have a question that I hope someone can help answer for me. I'm curious as to what the difference is between an element and a complexType?...
4
by: aj | last post by:
DB2 8.2 LUW FP14 Is there any real difference between select blahblahblah... where blah IN (select blah......) versus select blahblahblah... where blah = ANY (select blah.....) versus select...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.