gettype.vb
来自「大名鼎鼎的mono是.NET平台的跨平台(支持linux」· VB 代码 · 共 17 行
VB
17 行
Imports SystemModule Test Function Main() As Integer Dim s As String = GetType(String).ToString() If s <> "System.String" Then System.Console.WriteLine("#A1: wrong type returned") : Return 1 End If Dim t As Type = GetType(String) If Not t Is s.GetType() Then System.Console.WriteLine("#A2: wrong type returned") : Return 1 End If End FunctionEnd Module
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?