Solved

comparison between C# and VB , which is best ?? and why ??

Posted on 2011-02-24
10
381 Views
Last Modified: 2012-06-27
i want to know that which language is best and why ??
C# or VB

give me some suggestions ...
0
Comment
Question by:Parth48
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 34969306
It's purely personal preference. They both do exactly the same thing, so it is generally a case of picking which syntax you prefer.
0
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 34969326
Like carl_tawn already mentioned: personal preference

C# and vb.net comparision (syntax)
http://www.harding.edu/fmccown/vbnet_csharp_comparison.html

Article: Choosing between C# and VB.NET
http://www.dnjonline.com/article.aspx?ID=mar05_vbvscsharp
0
 
LVL 8

Expert Comment

by:jimsweb
ID: 34969330
I go with c#.

- It is developed purely as an OOP language, whereas, vb.nety was a product of .net.
there are many other reasons why i chose c# over vb.
http://www.vbrad.com/article.aspx?id=63

You can also have a look at the side by side comparison here.
http://www.codeproject.com/KB/dotnet/vbnet_c__difference.aspx
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 14

Expert Comment

by:quizwedge
ID: 34969375
Like others, a lot of it is personal preference. The rest depends on what you want to build, if one of the languages has a benefit over the other in that area.  I prefer VB because it was focussed on rapid application development. Of course, it at least used to be that C# developers made more money.

10 reasons VB.NET is better than C#: http://www.vbrad.com/pf.asp?p=source/src_top_10_vb.htm
10 reasons C# is better than VB.NET: http://www.vbrad.com/pf.asp?p=source/src_top_10_cs.htm
0
 
LVL 14

Expert Comment

by:robasta
ID: 34969382
0
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 34969549
10 reasons C# is better than VB.NET: - At least half of the resons given in that link are no longer true and are available in vb.net since VS 2005. carl_tawn's comment is on the money it depends which syntax you prefer/are used to. I have to code in both and find it easy to switch between the two.
0
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 34969644
Although vb.net gets my vote just for the WITH keyword saves tons of typing.
0
 
LVL 30

Expert Comment

by:anarki_jimbel
ID: 34976218
Good question! I'd put it this way:

I was (and is :)) C# developer but currently I work mostly in VB. An this does not make me happy - I prefer C#, I used to it! So many of my colleagues - they are professional s in C#, and here and there they cry and complain and ... The miss C#! :)

Also, I know other people who came to C# from VB. It looks like they do not miss VB and became C# guys forever :)
0
 
LVL 30

Expert Comment

by:anarki_jimbel
ID: 34976302
With all my respect to jacko72 - I don't like 'WITH'. In some cases it saves typing. But many times I encounterd code that didn't fit a screen - and I coudn't see "with what ?" !!!

There is even worse problem why 'WIT' is bad - debugging. In VB - try make right click and add a variable from within a WITH block to a watch window - it does not work.

This is just my private opinion, VB fans - don't shoot me! :)
0
 

Author Comment

by:Parth48
ID: 34977252
Thanks to all of u ....
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question