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

📄 library.vb

📁 OOP With Microsoft VB.NET And Csharp Step By Step
💻 VB
字号:
'Imports System
Imports System.Collections

Public Class Library
    Private m_shelf As New SortedList()

    Public Sub CheckIn(ByVal newBook As Book)
        m_shelf.Add(newBook.Title, newBook)
    End Sub

    Public Function CheckOut(ByVal title As String) As Book
        Dim theBook As Book
        theBook = CType(m_shelf(title), Book)
        m_shelf.Remove(title)
        Return theBook
    End Function
End Class


⌨️ 快捷键说明

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