interfacek.vb
来自「大名鼎鼎的mono是.NET平台的跨平台(支持linux」· VB 代码 · 共 30 行
VB
30 行
'Author:' V. Sudharsan (vsudharsan@novell.com)'' (C) 2005 Novell, Inc.'To Check if MustOverridable methods can Implement the interface functionsInterface A Function fun(ByVal a As Integer) As Object Function bun(ByVal a As Integer) As ObjectEnd InterfaceMustInherit Class B Implements A Function Cfun(ByVal a As Integer) As Object Implements A.fun End Function MustOverride Function Cbun(ByVal a As Integer) As Object Implements A.bunEnd ClassClass C Inherits B Overrides Function Cbun(ByVal a As Integer) As Object End FunctionEnd ClassModule InterfaceI Function Main() As Integer End FunctionEnd Module
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?