Diff between VB.Net and C#.Net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Can anybody tell me what are the difference between VB.Net and C#

Thanks in advance

Rehan Mustafa Khan
 
Rehan Mustafa Khan_MSFT said:
Can anybody tell me what are the difference between VB.Net and C#

I am not sure whether this is a serious question - anyway, have a look at
nearly the same question in the thread "Benefits of VB.NET over C#", 13:19
your local time.
 
The syntax is different.

:-) You can do the same with both of them, so based on functionality they
are more or less 100% the same.
 
Rehan said:
Can anybody tell me what are the difference between VB.Net and C#

Interesting... You include "MSFT" in your name, are you a "Microsoftie"?

There are only little differences between C# and VB.NET, it's a choice
of personal preference. If you like the syntax of VB.NET more, use
VB.NET, if you are an ASCII art fan, then use C#.
 
Hi Rehan,

VB has more functions (methods)
C# has better posibilities for documentation (including intellisence)

For the rest the same if you make programs in VB.net with option strict on.

Cor
 
Cor said:
Hi Rehan,

VB has more functions (methods)
C# has better posibilities for documentation (including intellisence)

For the rest the same if you make programs in VB.net with option strict on.

Cor

Anyone who doesn't use Option Strict On needs a good spanking :) And is
likely to get one come compile time! :)
 
looks like a msft person from the nntp posting heading... but as to why a
MSFT person couldn't find out the diffrences on their own web site is over
my head :P
 
Lorne,
Anyone who doesn't use Option Strict On needs a good spanking :) And is
likely to get one come compile time! :)
Actually, would this not be the other way around?

Option Strict Off will give you a runtime "spanking".

Option Strict On will give you a compile time "spanking".

As compile time "spankings" (aka errors) are almost always easier to "take"
(aka fix) then runtime "spankings".

Of course this may just be a "is the glass half full or half empty" thing
;-)

Hope this helps
Jay
 
Weeelllll... I was *actually* referring to the spanking they'd get for not
using it to start with (literal spanking from collegues that is!!), followed
by the spanking they'd get for turning it on after the fact and realising
they've now go to do through 1000's of lines of code making sure their
variables are declared correctly! :)
 
Back
Top