selectcase1.vb

来自「大名鼎鼎的mono是.NET平台的跨平台(支持linux」· VB 代码 · 共 26 行

VB
26
字号
Imports SystemImports System.CollectionsImports System.ReflectionNamespace SelectCase1    Class Test        Shared Function Main() As Integer            Dim i As Integer            Dim result As Integer            i = 2            Select Case i                Case 0                    result += i                Case 1                    result += i                Case 2                    result += i                Case 3                    result += i                Case Else                    result += i            End Select            Return result - 2        End Function    End ClassEnd Namespace

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?