📄 genericmethod7.vb
字号:
Imports SystemImports System.CollectionsImports System.ReflectionNamespace GenericMethod7 Class ParsedObject End Class Class BaseList(Of T) Inherits Generic.List(Of T) End Class Delegate Function ParseDelegate_Parent(Of T)(ByVal Parent As ParsedObject) As T Class Test Private Function ParseList(Of M As ParsedObject)(ByVal List As BaseList(Of M), ByVal ParseMethod As ParseDelegate_Parent(Of M), ByVal Parent As ParsedObject) As Boolean Dim newObject As M List.Add(newObject) Return True End Function Shared Function Main() As Integer End Function End ClassEnd Namespace
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -