TheStorm wrote:
VB and VB.NET's Syntax is terrible, I refuse to do any work in it unless I am being paid. It is stupidly verbose with nothing gained from that verbosity. If you prefer to type twice as much to say the same thing sure use VB.NET else stick to C#.NET.
Here's a snippet from a program I wrote to generate documents using Microsoft Word:
Code: ' VB.NET:
ComObject.PrintOut(Background := False, OutputFileName := filename, PrintToFile := True)
// C#:
object Missing = Type.Missing;
object Background = false;
object OutputFileName = filename;
object PrintToFile = true;
ComObject.PrintOut(ref Background, ref Missing, ref Missing, ref OutputFileName, ref Missing, ref Missing, ref Missing, ref Missing, ref Missing, ref Missing, ref PrintToFile, ref Missing, ref Missing, ref Missing, ref Missing, ref Missing, ref Missing, ref Missing, ref Missing);
Fortunately, C# 4 (finally!) brought C# in line with VB.NET when it came to COM interop.
Whilst I'd agree that C# is generally terser and more pleasant to work with VB.NET is a mostly competent language and there's nothing inherently wrong with it. The use of keywords rather than symbols can be beneficial to beginners.