fork download
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Function ExtrairBlocos(ByVal texto As String) As List(Of String)
  5. ' Dim blocos As New List(Of String)
  6. ' blocos = Regex.Split(texto, "(""[^""]*""|\s+)").ToList()
  7. ' blocos.RemoveAll(Function(bloco) String.IsNullOrWhiteSpace(bloco))
  8. ' Return blocos
  9. End Function
  10.  
  11. Public Shared Sub Main()
  12. ' your code goes here
  13. End Sub
  14. End Class
Compilation error #stdin compilation error #stdout 0.01s 23984KB
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/BLUEuC/prog.vb (6,1) : error VBNC30451: 'List' is not declared. It may be inaccessible due to its protection level.
There were 1 errors and 0 warnings.
Compilation took 00:00:00.7278140
stdout
Standard output is empty