Wednesday, November 14, 2007

Difference between vb.net and c#

There are so many differences between vb.net and c# which are given below-Here I mentioned the some important differences between vb.net and c#.

. C# provides operator overloading and vb.net does not provide it.

. C# supports unsigned integer and vb.net does not.

. C# does not support optional argument and vb.net supports it.

. C# runs slightly faster than vb.net.

. C# inforces strict type casting and vb.net does not  enforce it.

. Event declaration is easier in vb.net than c#.

. vb.net is flexible of  working with arrays which can be resized using Redim statement and c# does not support Redim statement.

8. vb.net is not case sensitive and c# is case sensitive. 


The best sites to know the difference between vb.net and c#.net are 


 1)      http://www.harding.edu/USER/fmccown/WWW/vbnet_csharp_comparison.html 


2)      http://www.codeproject.com/dotnet/vbnet_c__difference.asp

No comments: