Performance of Nine Languages Compared
OSNews has an article comparing the performace of different languages to each other. C# kills VB.NET in the IO category. Why? Take a look at the VB code vs C#.
C#
StreamWriter streamWriter = new StreamWriter(fileName);
while (i++ < ioMax)
{
streamWriter.WriteLine(textLine);
}
streamWriter.Close();
VB.NET
FileOpen(1, fileName, Microsoft.VisualBasic.OpenMode.Output)
Do While (i < ioMax)
PrintLine(1, myString)
i += 1
Loop
FileClose(1)