In real life, what is the difference between C# and Visual Basic?.

I want to make an application to handle data from a database and I was told that C# is much better, I need advice.

Thanks in advanced.

Waldis Portes

1 Year
Discussion Span
Last Post by overwraith

Visual Basic is harder to read than C#... Sorry about the dig VB coders, but you know what I am referring to, Dim'ing variables instead of simply declairing "int num = 14;", and all those nasty do, end if, end loop, etc. Sometimes I use them in comments even in C#, but I like to have the option, and not be forced to actually type out end ... If a statement is really short brackets are the way to go '{', '}'. Truthfully, there are some things Linq associated that VB can do better, and I also think there are some things Linq associated that C# does better, you would have to read C# in depth by john skeet in order to nail down exactly what does what better, but in my opinion the only differences between the languages is verbosity. Realistically they are both .NET languages, so there shouldn't be anything one does that is "better" than the other. As for me and my house I will use C#.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.