What is the difference between vb.net and c#?, DOT NET Programming

Assignment Help:

Difference between VB.NET and C#

This is the main debatable issue in .NET community and everyone treat their languages like religion.

It is a very important matter which language is the best. Some preferred VB.NET's naturally and some Like professional style and the rest  C# syntax. Both languages use the same framework and speed is Also very much equivalents. But still let's list down some major differences b/w them:-

Advantages of VB.NET :-

1)Has support for the optional parameters which makes COM interoperability very easy.With Option Strict off late bindings are supported.Legacy VB functionality can be used by using  Microsoft.Visual Basic namespace.

2) Has the WITH construct which is not present in C#.

3) The VB.NET part of Visual Studio .NET compiles your code in background. While this is considered an advantage for all small projects, people creating very large projects have found that the IDE slows down considerably as the project gets larger.

Advantages of C#

1)XML documentation is generated from the source code but this is now  incorporated in the Whidbey.

2)Operator overloading which is not present in current VB.NET  but is been introduced in the Whidbey.

3)Use of the statement makes unmanaged resource disposal simple.

4)Access to Unsafe code. This allow the  pointer arithmetic etc, and can improve the performance in some  situations. However, not to be used lightly, as a lot of the normal safety of C# are lost (as the name  implies). These are some major differences that you can access unmanaged code in C# and not in VB.NET.


Related Discussions:- What is the difference between vb.net and c#?

I need responsive database structure and web template, I have a responsive ...

I have a responsive database structure and web template. I need someone to prepare the code (.net, jquery ) to make interaction with database . Insert, edit , save . Plus a custom

Development of online game, Project Description: Online game development...

Project Description: Online game development 1. Online Live Baccarat Game is required - server program(IOCP or ect..). - 2D graphic design. - client program. - we

Asp.net mvc 4 setup project, I am seeking someone (person or company) who a...

I am seeking someone (person or company) who already has been developing some ASP.NET MVC 4 application with the subsequent requirements (so there is no need to spend extra time to

Published or precreated objects in remoting, What is fundamental of publish...

What is fundamental of published or precreated objects in Remoting? In the scenarios of the singleton or single call the objects are created dynamically. But in some situations

How many types of generations are there, How many types of generations are ...

How many types of generations are there in a garbage collector? Memory management in the CLR is separated into three generations that are building up by grouping memory segment

Allow a webpage and restrict access to other domains, We previously use Sit...

We previously use Site content filtering inside Netkiosk But at present this blocks sites. or keywords We now also require a Whitelist that allows. 1) An entire domain www

What is adrotator scheduler, Question: (a) List and describe the four ...

Question: (a) List and describe the four parameters contained in the second section of the AdRotator Scheduler File. (b) Distinguish between the following types of "Locks"

How to increase sql performance?, How can you increase SQL performance? ...

How can you increase SQL performance? 1)Keep your indexes as narrow as possible. This reduces the size of the index and decrease the number of reads needed to read the index.

What is delay signing, Delay signing During the development process you...

Delay signing During the development process you  need strong keys name  to be exposed to the developer which is not a good practice from security aspect .In such situations yo

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd