This is a bad idea because the solution will break if someone tries to list your collection several times at the same time.
For example: it will somehow break
For Each cur1 in yourObj
For Each cur2 in yourObj
Console.WriteLine("{0} - {1}", cur1,cur2)
Next
Next
source
share