fork download
  1. Dim s1 As String = Nothing
  2. If (s1 = Nothing) Then
  3. Call Console.WriteLine("String の Nothing は Nothing と等しいです。")
  4. Else
  5. Call Console.WriteLine("String の Nothing は Nothing と等しくありません。")
  6. End If
  7.  
  8. Dim s2 As String = String.Empty
  9. If (s2 = Nothing) Then
  10. Call Console.WriteLine("String.Empty は Nothing と等しいです。")
  11. Else
  12. Call Console.WriteLine("String.Empty は Nothing と等しくありません。")
  13. End If
  14.  
  15. Dim n1 As Integer = 0
  16. If (n1 = Nothing) Then
  17. Call Console.WriteLine("Integer の 0 は Nothing と等しいです。")
  18. Else
  19. Call Console.WriteLine("Integer の 0 は Nothing と等しくありません。")
  20. End If
  21.  
  22. Dim n2 As Integer = 1
  23. If (n2 = Nothing) Then
  24. Call Console.WriteLine("Integer の 1 は Nothing と等しいです。")
  25. Else
  26. Call Console.WriteLine("Integer の 1 は Nothing と等しくありません。")
  27. End If
  28.  
  29. Dim d1 As DateTime = DateTime.Today
  30. If (d1 = Nothing) Then
  31. Call Console.WriteLine("DateTime.Today は Nothing と等しいです。")
  32. Else
  33. Call Console.WriteLine("DateTime.Today は Nothing と等しくありません。")
  34. End If
  35.  
  36. Dim d2 As DateTime = New DateTime()
  37. If (d2 = Nothing) Then
  38. Call Console.WriteLine("New DateTime() は Nothing と等しいです。")
  39. Else
  40. Call Console.WriteLine("New DateTime() は Nothing と等しくありません。")
  41. End If
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/OtwocF/prog.vb (1,5) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (2,3) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (3,8) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (4,5) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (5,8) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (6,7) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (8,4) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (9,3) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (10,8) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (11,5) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (12,8) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (13,7) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (15,4) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (16,3) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (17,8) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (18,5) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (19,8) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (20,7) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (22,4) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (23,3) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (24,8) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (25,5) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (26,8) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (27,7) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (29,4) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (30,3) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (31,8) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (32,5) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (33,8) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (34,7) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (36,4) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (37,3) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (38,8) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (39,5) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (40,8) : Error VBNC30203: Not valid as identifier.
/home/OtwocF/prog.vb (41,7) : Error VBNC30203: Not valid as identifier.
There were 36 errors and 0 warnings.
Compilation took 00:00:00.6509690
stdout
Standard output is empty