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

📄 constructorg.vb

📁 大名鼎鼎的mono是.NET平台的跨平台(支持linux
💻 VB
字号:
'Author:'   V. Sudharsan (vsudharsan@novell.com)'' (C) 2005 Novell, Inc.'To check if initializing takes place according to the occuranceImports SystemClass A    Public i As Integer = j    Public j As Integer = 1    Sub New()        If i <> 0 Then            test.result = False        End If    End SubEnd ClassClass AB    Inherits A    Public k As Integer = i    Sub New()    End SubEnd ClassModule Test    Public result As Boolean = True    Public Function Main() As Integer        Dim a As AB = New AB()        If result = False Then            System.Console.WriteLine("Constructor not working properly") : Return 1        End If    End FunctionEnd Module

⌨️ 快捷键说明

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