fork(1) download
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Console.writeLine(1 + 2)
  6. Console.writeLine("a" + "b")
  7. Console.writeLine(1 + "a")
  8. End Sub
  9. End Class
Runtime error #stdin #stdout #stderr 0.15s 36960KB
stdin
Standard input is empty
stdout
3
ab
stderr
Unhandled Exception: System.InvalidCastException: Conversion from string "a" to type 'Double' is not valid. ---> System.FormatException: Unknown char: a
  at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] 
  at System.Double.Parse (System.String s, IFormatProvider provider) [0x00000] 
  at Microsoft.VisualBasic.CompilerServices.DoubleType.Parse (System.String Value, System.Globalization.NumberFormatInfo NumberFormat) [0x00000] 
  at Microsoft.VisualBasic.CompilerServices.DoubleType.FromString (System.String Value, System.Globalization.NumberFormatInfo NumberFormat) [0x00000] 
  --- End of inner exception stack trace ---
  at Microsoft.VisualBasic.CompilerServices.DoubleType.FromString (System.String Value, System.Globalization.NumberFormatInfo NumberFormat) [0x00000] 
  at Microsoft.VisualBasic.CompilerServices.DoubleType.FromString (System.String Value) [0x00000] 
  at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble (System.String Value) [0x00000] 
  at Test.Main () [0x00000]