Ok this didn't seem to work.
'''
''' Defines a mechanism for saving, loading, and access to properties of a SQL contact row. ''' ''' Interface IContactInherits ISQLRow, IAddress
Property FirstName() As String
Property LastName() As String Property MiddleInitial() As String Property JobTitle() As String Property DefaultEmail() As Integer Property DefaultPhone() As Integer Property Emails() As GenericCollection(Of IEmail) <-------------------- Property Phones() As GenericCollection(Of IPhone) <-------------------- End Interface
I have been in Iraq for 2 years and have been away from the programming world for awhile.... Trying to get back into the swing of things...I was using vb6 before I left and am a bit rusty. I am using VS 2005 now. So should I make this a collection of the class -v-v-v-v-v-v-v-
Code SnippetProperty Emails() As GenericCollection(Of Email)
or is there a way to include the Interface as well (aside from the class email)
If at all possible if someone could point me to some literature,videos, etc.. for learning interface and .Net. I am wanting to brush up on my OO skills. I purchased a GoF book, but it seems more like a cheat sheet then a learning tool.
P.S. only been researchig the .Net Framework for about 2-3 months so please correct me if I am totally missing something!
Thanks,
GOOSE007