⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 assignmentstatementsb.vb

📁 大名鼎鼎的mono是.NET平台的跨平台(支持linux
💻 VB
字号:
Option Strict OffImports SystemImports Microsoft.VisualBasicModule AssignmentStatementsB    Function Main() As Integer        Dim b As Byte = 0        Dim ch As Char = "a"c        Dim i As Integer = 0        Dim str As String = "Hello "        b += 1        If b <> CByte(1) Then            System.Console.WriteLine("#ASB1-Assignment Statement Failed") : Return 1        End If        b += i        If b <> CByte(1) Then            System.Console.WriteLine("#ASB2-Assignment Statement Failed") : Return 1        End If        b += CByte(i)        If b <> CByte(1) Then            System.Console.WriteLine("#ASB3-Assignment Statement Failed") : Return 1        End If        ch += ChrW(65)        If ch <> CChar("aA") Then            System.Console.WriteLine("#ASB4-Assignment Statement Failed") : Return 1        End If        str &= "World"        If str <> "Hello World" Then            System.Console.WriteLine("#ASB5-Assignment Statement Failed") : Return 1        End If        i += "12"        If i <> 12 Then            System.Console.WriteLine("#ASB6-Assignment Statement Failed") : Return 1        End If    End FunctionEnd Module

⌨️ 快捷键说明

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