I'm trying to make as strong a case as possible for going with c# rather than VB.NET
for a project.
If anything, with C# you don't have to type as much.
Anyway thanks for the comments. Especially that interview piece.
Regards,
Steven Fraser
The views expressed here are mine and not those of my employer
-----Original Message-----
From: Richard Birkby [mailto:[EMAIL PROTECTED]]
Sent: 25 April 2002 09:11
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Difference between C# and VB.NET
Here you go (slightly biased!):
VB C#
============================================================================
======
Write late bound code easily
Incremental compilation
XML Comments
Less buggy (more testing was carried
out)
Formally standardized (ie good
documentation)
Parameterized Properties
Exception filtering Only has standard exception handling
The neat "Handles" keyword
Able to write VS.Net Add-ins
More performance*
Operator Overloading
Quotations:
"Just as C is the language of Windows, C# is the language of .NET."
Dr GUI.Net #0, November 2000
"When asked who Microsoft sees as the developer audience for VB, the answers
were enlightening. Treadwell characterized developers as coming from two
camps, those who would approach the problem of writing a tic-tac-toe game by
drawing the UI first (VB developers) and those who would first create the
classes and code required for the game logic ("computer science"
developers). The interviewees said that Microsoft would make further
alterations to VB to help target that entry-level audience. Unfortunately,
no one would comment on exactly what such alterations might entail. So
despite the relative parity that VB.NET has achieved within the .NET
language family, it's still seen, internally, as the "entry-level" language"
Anders Hejlsberg, David Treadwell, and Prashant Sridharan, Devx.com
interview, Feb 2002
Richard
* Try to ILDASM the following:
Dim s As System.String
s="hello"
If s="" Then
End If
> -----Original Message-----
> From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of
> Steven Fraser
> Sent: 25 April 2002 08:52
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] Difference between C# and VB.NET
>
>
> Hi all,
>
> Anyone know the of any differences between C# and VB.NET?
>
> I know that VB.NET doesn't support operator overloading.
>
> Regards,
> Steven Fraser
>
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
______________________________________________________________
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the person or
organisation to whom it is addressed. Its contents are confidential and may be
protected in law. Unauthorised use, copying or disclosure of any of it may be
unlawful. If you are not the intended recipient, please contact us immediately.
The contents of any attachments in this e-mail may contain software viruses, which
could damage your own computer system. While Marlborough Stirling has taken every
reasonable precaution to minimise this risk, we cannot accept liability for any damage
which you sustain as a result of software viruses. You should carry out your own
virus checking procedure before opening any attachment.
Marlborough Stirling plc, Registered No. 3008820,
Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000 Fax: 01242 547100
http://www.marlborough-stirling.com
The following companies are subsidiaries of Marlborough Stirling plc and are
registered in England and Wales at the above address:
Marlborough Stirling PLC, Registered No. 3008820
The Marlborough Stirling Group PLC, Registered No. 1855353
Marlborough Stirling Administration Limited, Registered No. 2341195
Metgem Limited, Registered No. 02341195
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.