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




Reply With Quote