Click here to Skip to main content
15,912,578 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,


I need major difference between vb.net and c#.net like points of your own.

I no need any link regarding this difference.I need Only points.........
and simple difference program for both vb.net and c#.net...........
Posted

Semicolons.

VB doesn't use 'em.

Other than that, they are pretty much directly comparable.
See MSDN: Differences Between Visual Basic .NET and Visual C# .NET[^]

Next time, use Google and do at least basic research yourself!
 
Share this answer
 
I am wondering why you don't any solution link. The difference between C# and VB.Net is not a mystery that I need to discover alone. There are lot of people took the effort to list the difference which I can copy past here instead of giving the link, but that would be disregardful. I hope you understand that. As for the syntax they are pretty much directly comparable.

Some difference,
1. VB.NET is case insensitive where C# is not.
2. Boolean AND expressed with '&&' in C# where 'AndAlso' or 'And' is used in VB.Net. Here 'AndAlso' and 'And' have different meaning as for the usability.
3. Optional parameter is allowed in VB.Net but not in C#

Some usefully links,
Complete Comparison for VB.NET and C#[^]

http://www.dotnetfunda.com/articles/article601-difference-between-csharp-and-vbnet.aspx[^]
 
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