Results 1 to 5 of 5

Thread: need feedback on this code

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489

    need feedback on this code

    I am trying to grasp the concept of OOP and I'm making a program that catagorizes my mp3 collection. I created a class and would like to know if I'm on the right track:

    Code:
    Public Class Album
        Private m_artist As String
        Private m_album As String
        Private m_TrackNum As String
        Private m_TrackName As String
    
        Public Property Artist() As String
            Get
                Return m_artist
            End Get
            Set(ByVal Value As String)
                m_artist = Value
            End Set
        End Property
    
        Public Property Album() As String
            Get
                Return m_album
            End Get
            Set(ByVal Value As String)
                m_album = Value
            End Set
        End Property
    
        Public Property TrackNum() As String
            Get
                Return m_TrackNum
            End Get
            Set(ByVal Value As String)
                m_TrackNum = Value
            End Set
        End Property
    
        Public Property TrackName() As String
            Get
                Return m_TrackName
            End Get
            Set(ByVal Value As String)
                m_TrackName = Value
            End Set
        End Property
    End Class
    Last edited by Andy; Feb 11th, 2004 at 09:43 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width