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#?

Web from designer inline whiledataread from dbase show dr1, http://www.w3...

http://www.w3.org/1999/xhtml"> runat="server"> Ürün Adi : --------------- using System

Difference in stored procedure and user defined function, What is the diffe...

What is the difference between Stored Procedure (SP) and User Defined Function (UDF)? Some of major differences between a stored procedure and user defined are as follows:-

Dynamic web presentation tier, Part 1 requires you to complete a dynamic we...

Part 1 requires you to complete a dynamic web presentation tier, based on your MiddlewareLib.dll  library. This should run as an ASP.NET page, Default.aspx, under WebDev.WebServer,

Mat lab programming, MAT LAB programming Project Description: i have ...

MAT LAB programming Project Description: i have simulation and i need to simulate the equation in ,and test the all simulation it working with your work program other code sh

Which property on a combo box do you set with a column name, Which property...

Which property on a Combo Box do you set with a column name, prior to setting the Data Source, to display data in the combo box? ComboBox.DataValueField = "ColumnName" When

What are the differences between ajax and javascript, What are the differen...

What are the differences between AJAX and JavaScript? The differences among AJAX and JavaScript are given as follows: AJAX sends request to the server and does not wait for

What is the difference between view state and session state, What Is The Di...

What Is The Difference Between ViewState and SessionState? View State persist the values of controls of certain page in the client (browser) when post back operation done. When

How to prevent .net dll to be decompiled?, Prevent .NET DLL to be decompile...

Prevent .NET DLL to be decompiled By design phase .NET embeds rich Metadata inside the executable code using the MSIL. Anyone can easily  decompile DLL back using tools such as

Collation sequence in sql server, Explain collation sequence in sql server....

Explain collation sequence in sql server. The Collation sequences are the set of rules which determine how the data is sorted and compared. The Sorting rules can be defined wit

Manager, How to get Herarichal Data in Treeview control from sql server dat...

How to get Herarichal Data in Treeview control from sql server database in asp.net , can you provide the source code .

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