Which language is preferred by most developers especially targeting .NET & silverlight? Is it C# or VB.NET?
Are there any advantages/disadvantages of both languages when compared with each other?
Which language is preferred by most developers especially targeting .NET & silverlight? Is it C# or VB.NET?
Are there any advantages/disadvantages of both languages when compared with each other?
Yes, yes there are.
i would favor C# ... just because i never liked the syntax of VB, don't know why but i never liked VB since my early days when i was learning programming.
and about (dis)advantages? they both have their own, and i think it's like comparing apples and onions
The answer to your first question is more .NET developers use C# than VB.NET VB.NET than C# (according to this). Most tutorials, code samples, and sample projects tend to be written in C# instead of VB.NET though, so C# might be a bit easier to learn.
C# is a better choice.. More seriously, pointless question. As we all know, C# and VB.NET compiles to the same IL code, so it's just a matter of personal preference.
C# is good for programmers which be familiar with C++. But if you have been used VB6, you can switch to VB.NET more easily.
I think C# is more future language, because it is developed after Java, C++, Visual Basic, ... And so that, it is combined advantages of the above languages. Example: C# use OOP concepts of Java & C++, like as: inheritance, interface, abstract, & C# don't use pointer like C++. C# also use designer like VB.
It depends a bit which market you're talking about. Most of our clients are architects and whenever they learn programming they tend to start with (and stick to) VB.NET. However, architects don't care much for Silverlight development...
I'm merely pointing this out since it's a break from the standard behaviour.
My background is VBScript and VB6, but these days I'm equally proficient in C# and VB.NET. The more I learnt about C#, the less I liked it. Sadly, the more I learnt about C#, the less I liked VB as well. If only there was a way to combine the best bits...