fork download
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Function IsAny(Of T)(data As IEnumerable(Of T)) As Boolean
  5. Return data IsNot Nothing AndAlso data.Any()
  6. End Function
  7. Public Shared Sub Main()
  8. ' your code goes here
  9. DIm l as New List(of String)
  10. Console.WriteLine(isany(l))
  11. End Sub
  12. 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.5914 (Mono 2.4.2 - r)
Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.


/home/llIJ0o/prog.vb (4,64) : Error VBNC30451: Could not resolve the name 'IEnumerable'
There were 1 errors and 0 warnings.
Compilation took 00:00:00.7506180
stdout
Standard output is empty