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?
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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.