Click here to Skip to main content
15,917,176 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
What is the basic difference of VB and C#? Which one is faster? Why every one use c# instead of VB now?

Thanks in advance
Rashed
Posted

Hi,

Basically there is no real difference besides the syntax.

1. Read this article:
http://www.codeproject.com/kb/dotnet/vbnet_c__difference.aspx[^]
and if you have a lot of time:
http://support.microsoft.com/kb/308470/en-us[^]

2. Theoretically a C# application has the same performance as a vb.net application

3. More people use C# because of their C++/C Background and because of the(my opinion) cleaner syntax.
 
Share this answer
 
v3
C# and VB are two different .NET languages running under CLR.

So in terms of IL they are both same. But initially Microsoft build the two languages for two different sets of people, giving away some features to only VB like optional parameter, Option strict off, With etc and some explicitly for C# like Disposable using, checked/unchecked, static classes etc

But now Microsoft is thinking about language parity and I am sure the later version of those languages will be with same features.

:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900