Return a 2 dimensional array
How can a have a property return a 2 diemsional array? I have a property called phones that needs to return a 2 diemsional array. One diemsion of the array will tell what type the phone is i.e. home or cell and the other will house the actual phone number.
Here is the code I had to return a 1 diemsional array, but I need to change it to 2.
VB Code:
Private mPhones() as String
Public Property Phones() As String()
Get
Return mPhones
End Get
Set(ByVal Value As String())
mPhones = Value
End Set
End Property