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

📄 expressioninstancemea.vb

📁 大名鼎鼎的mono是.NET平台的跨平台(支持linux
💻 VB
字号:
'Author: Ritvik Mayank <mritvik@novell.com>'Copyright (C) 2005 Novell, Inc (http://www.novell.com)Imports SystemModule NewTest    Structure Point        Public x, y, A As Integer        Public Sub New(ByVal x As Integer, ByVal y As Integer)            Me.x = x            Me.y = y        End Sub        Public Function Add() As Object            A = Me.y + Me.x            If A <> 700 Then                console.writeline("Unexpected behavior:: A should be equal to Me.X + Me.Y=300+400 = 700 but got A=" & A)                failed = True            End If        End Function    End Structure    Dim failed As Boolean    Function Main() As Integer        Dim R As New Point(300, 400)        R.Add()        If failed Then Return 1    End FunctionEnd Module

⌨️ 快捷键说明

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