VB or C# ?

P

Philip Webb

We intend to use .NET technology and SQL Server to build a
corporate Intranet.

Are their any advantages/disadvantages in chosing to use
VB or C#? Could you recommend which one to use.

Will chosing one over the other restrict us in any way in
the future or is one better suited to building Web-based
data-driven pages?

Thanks,
Philip
 
N

news.microsoft.com

Languages are equal under the CLR with common types.

Same libraries. chose what u want :D
 
W

William Ryan

Learn them both.... The real challenge is learning the .NET way of doing
things, the framework. Syntax is trivial compared to this.

WAYYYY too much time is spent debating this, and in the end, there is very
little difference provided you use Option Strict in VB.Net. C# does support
unmanaged code, but unless you have an explicit need for it, that may not be
a big deal.

Honestly though, have your developers learn what they are comfortable with,
and have them learn it well. They will be able to migrate over if they need
to. It's a lot harder to learn VB.NET from VB6 than to learn C# from
VB.NET.

If you need specifics on the differences (and there aren't many contrary to
what some partisans will tell you) there are many articles on it, Dan
Appleman wrote an ebook and more than a few articles on the subject. HTH
HTH,
Bill
 
J

Jon Skeet [C# MVP]

William Ryan said:
WAYYYY too much time is spent debating this, and in the end, there is very
little difference provided you use Option Strict in VB.Net. C# does support
unmanaged code, but unless you have an explicit need for it, that may not be
a big deal.

Quick correction here: C# doesn't support un*managed* code, it supports
un*safe* (but still managed) code.

For unmanaged code, you'd need to go to MC++.
 
W

William Ryan

Good catch, It was a typo but defintely something worth pointing out.

Thanks,

Bill
 

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

Similar Threads


Top