You know what, we really don't have enough information to work with.
LinkedList is a Generic Class.
What type is <IN> the linkedlist? that is, how is it declared?
Anyway, I made the following small test:
A single Listbox, a single button, with the default names:
Public Class Form1
Private Class CNodeClass
Public Sub New(ByVal Name As String, ByVal Gender As String, ByVal Age As Long)
End Sub
Public Sub New()
Name = "Name" + Trim$(Rnd() * 800000)
Gender = IIf(Rnd() > 0.5, "F", "M")
Age = 10 + Int(Rnd() * 40)
End Sub
Public Name As String
Public Gender As String
Public Age As Long
End Class
Private mLinkedList As LinkedList(Of CNodeClass)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
mLinkedList = New LinkedList(Of CNodeClass)
For I As Integer = 1 To 40
mLinkedList.AddLast(New CNodeClass())
Next
Me.ListBox1.Items.Clear()
Me.ListBox1.DataSource = mLinkedList
For Each litem As CNodeClass In mLinkedList
Me.ListBox1.Items.Add(litem.Name + "," + CStr(litem.Age) + "," + litem.Gender)
Next
End Sub
End Class