Click here to Skip to main content
15,918,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What is the difference between C#.NET and VB.NET?
Posted
Updated 15-Jun-10 2:44am
v3
Comments
Sandeep Mewara 15-Jun-10 2:35am    
You dont need to shout. Posting in CAPS means shouting.

two ways of doing the same things instead for very exceptional things, and c# is the language focused for .net while vb still manage to run on that platform
 
Share this answer
 
Ultimately, personal preference. Both use the same code base, and both compile into the same intermediate language. You can even use assemblies normally linked to the other language: I've written C# code that used methods found in Microsoft.VisualBasic.

In my experience, VB is slightly more versatile, in that it can do a few very arcane things that you cannot do in C#, like write reference extensions. By and large, though, the only difference between VB and C# is which language you are most comfortable using.
 
Share this answer
 
Comments
Johnny J. 16-Jun-10 3:15am    
Good point of view...
This topic came up in The Lounge a few days ago. Have a look at what lots of CPians thought[^].
 
Share this answer
 
Syntax.        
 
Share this answer
 
Comments
CPallini 15-Jun-10 8:49am    
Someone downvoted you: sometimes the truth hurts... :-)
Abhinav S 15-Jun-10 11:44am    
Tried to fix that downvote by voting up - but yes, the truth was not preferred here by someone :).
You should have done google for this.

Check this
Complete Comparison for VB.NET and C#[^]
 
Share this answer
 
None at all.

They are both ALGOL derived OOP .NET Developers tools, with a slightly different syntax and different functionalities.

They can both do more or less the same things, but, C# is what you should program in, and VB is often what you have to program in for the benefit of the management.
 
Share this answer
 
v2
Elephants, because bananas don't have bones.
 
Share this answer
 
C# supports pointers to an extent. VB.NET doesn't support pointers.

Look here[^]
 
Share this answer
 
Comments
AspDotNetDev 17-Jun-10 12:22pm    
Looks like VB.Net does support pointers (to an extent): http://www.dotnetbips.com/articles/44bad06d-3662-41d3-b712-b45546cd8fa8.aspx
I think you should be reading a book or two.....
 
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