inheritedinterfacemethod1.vb
来自「大名鼎鼎的mono是.NET平台的跨平台(支持linux」· VB 代码 · 共 24 行
VB
24 行
Class InheritedInterfaceMethod1 Class Consumer Implements IDerived Function Method() As Integer Implements IBase.Method Return 1 End Function End Class Interface IBase Function Method() As Integer End Interface Interface IDerived Inherits IBase End Interface Shared Function Main() As Integer Dim c As New Consumer Dim i As IDerived i = c Return i.method - 1 End FunctionEnd Class
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?