fork download
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim sString as String
  6. Dim iIndex as Integer = 5
  7. sString = "Unknown"
  8. Select Case iIndex
  9. Case Is <= 4
  10. sString = "Small"
  11. Case Is >= 6
  12. sString = "Large"
  13. End Select
  14. System.console.writeline (sstring)
  15. Stdout=sstring
  16. End Sub
  17. End Class
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 3.8 - tarball)
Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.

/home/AAhhT1/prog.vb (15,8) : error VBNC30451: 'Stdout' is not declared. It may be inaccessible due to its protection level.
There were 1 errors and 0 warnings.
Compilation took 00:00:00.9419340
stdout
Standard output is empty