hi,
i want to crate a hierarchical data structure same as XML, means parent, child, sub child... like that one using vb.net. so ho can i create that one?
hi,
i want to crate a hierarchical data structure same as XML, means parent, child, sub child... like that one using vb.net. so ho can i create that one?
Here is the general pattern for creating parent-child relationships.
Public Class Node
Private m_Children As List(Of Node) = New List(Of Node)
Public ReadOnly Property Children() As List(Of Node)
Get
Return m_Children
End Get
End Property
End Class