fork download
  1. Imports System
  2. Imports System.Collections.Generic
  3. Imports System.Linq
  4.  
  5. Public Module Module1
  6. Public Sub Main()
  7. Console.WriteLine("Hello World!")
  8.  
  9. Dim A As New List(Of Integer) From { 1,2,3,4,5,6,7 }
  10. Console.WriteLine(A.Sum())
  11. Console.WriteLine(A.Select(Function (X, I) X * I).Sum())
  12.  
  13. Console.WriteLine("Press Enter Key to Exit.")
  14. Console.ReadLine()
  15. End Sub
  16. End Module
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Visual Basic.Net Compiler version 0.0.0.5943 (Mono 4.7 - tarball)
Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.

/home/Vx7lxW/prog.vb (9,37) : error VBNC30205: End of statement expected.
/home/Vx7lxW/prog.vb (9,37) : error VBNC90019: Expected 'End'.
/home/Vx7lxW/prog.vb (10,10) : error VBNC90019: Expected 'End'.
/home/Vx7lxW/prog.vb (11,10) : error VBNC30203: Identifier expected.
/home/Vx7lxW/prog.vb (13,10) : error VBNC30203: Identifier expected.
/home/Vx7lxW/prog.vb (14,10) : error VBNC30203: Identifier expected.
/home/Vx7lxW/prog.vb (15,9) : error VBNC30203: Identifier expected.
/home/Vx7lxW/prog.vb (16,11) : error VBNC30203: Identifier expected.
There were 8 errors and 0 warnings.
Compilation took 00:00:00.3667050
stdout
Standard output is empty