Difference between C# and VB.NET

R

Raj Dhrolia

Hi Guys,

It might seem to be a very easy question, but i am very much eager to
know some good technical difference between C# and VB.NET.

Are there anything that i can do in one language and cannot in other?
And finally why C# seems to be a sort of standard in industry?

Regards,
Raj Dhrolia.
 
C

Cowboy \(Gregory A. Beamer\)

C#
---
Operator overloading
Unsafe code
Using keyword (makes a Dispose pattern easier to implement)

VB.NET
---------
Late Binding

There are some compiler differences, as well, so C# occasionally produces
better performing MSIL. Other than that, the languages are pretty much the
same.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
S

Steve C. Orr [MVP, MCSD]

They have 99.9% the same capabilities.
VB.NET is considered easier for beginners & such and has more built in
functions that you might otherwise have to code by hand in C#.
With C# you can do lower level things like writing device drivers & such
which wouldn't be very feasible in VB.NET.

But if you have any experience with C languages then go with C#
Conversley, if you've programmed with any version of BASIC in the past then
go with VB.NET.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top