C# Dot Net and Vb Dot Net

C# Dot Net and Vb Dot Net

When we use asp.net we have different language options available there are some of this language vb.net, c#.net, Perl, etc. So it depends upon the programmer which language they are using all of the languages have there different syntax and language have their characteristics. In this article, I have taken vb.net and c#.net. Some people like vb.net simple style and some people like C# syntaxes. But the similar thing is that both of them using the same platform that is .net framework but there are some important difference between c# and vb.net:-

In vb.net we have optional parameters that help in the development of COM interoperability. In vb.net we can use construct which is not available in c#.net another feature of vb.net is late binding with Option Strict off. We can also use VB functionalities can be used by using Microsoft.VisualBasic namespace Another one of the most beautiful features of the vb dot net is that it compiles code in the background so this is considered an advantage for small projects, people creating very large projects have found that the IDE slows down considerably as the project gets larger.

Now comes to c#.net in this we can generate XML documentation from source code but this is now been incorporated in Whidbey another good feature that is included in c#.net is operator overloading which is not availed ab.net and we use this statement which helps users to get unmanaged resource disposal simple. In c#.net we can access Unsafe code which allows pointer arithmetic and we can also improve performance in some situations. We can take it lightly because a lot of the normal safety of C# is lost so unmanaged code in C# and not in VB.NET.

So these are some of the most elegant differences between vb.net and c# dot net that make them different.

Source by Adam Sturo

Leave a Reply

Your email address will not be published.