Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C Sharp or VisualBasic 6? 2

Status
Not open for further replies.

steven54

Programmer
Jul 4, 2009
22
US
I am considering learning C Sharp for application development. Basic - VisualBasic has been my mainstay choice for a dozen years. Are there advantages to C Sharp over VB?

Thanks in advance!
 
If you are to start learning C-ish and/or visual basic-ish --general talking-- then pick C# or VB.NET. No way vb6. Here is a helpful comparison
Knowledge of ansi c/c++ would be great if you have.
Just read the above link. I use vb.net, but there are things that C# has and i would like the visual basic development team to implement them (case sensitivity and arrays to get the size instead of the upper bound)
 
Forgot to say that i come from vb5-6 background. Event driver vb6 was great and fast, but .NET is huge and much much better, when you learn to write code in object oriented way
 
there are a few language differences between C# and VB. 3 features of C# that stand out are:
1. delayed execution with IEnumerable (yield key word)
2. multiline lambda expressions
3. strongly typed objects and case sensitivity

picking either language is subjective. I have found that using C# makes is easier to understand a wide range of languages. PHP, Javascript, Java. Because the syntax is similar understanding the language has a lower barrier of entry.

I find most OSS projects use C# as well. reviewing the code of a project like NHibernate, or Castle Windsor becomes easier because I already understand the language.

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
 
Thanks for replying! I am familiar with C++ and am finding C# to be a blend of VB and C++. It is confusing at first as I have to look up which of the two languages the syntax is closest to.

Let the journey begin [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top