kiki

kiki

  • NA
  • 24
  • 0

print three lists <> using foreach

Jan 23 2008 11:24 AM
I have 3 lists like

List<string> A=new List<string>();
List<string> B=new List<string>();
List<string> C=new List<string>();


How can I print the contents of the lists like this:

first item of list A
first item of list B
first item of list C
second item of list A
second item of list B
second item of list C
third
item of list A
third item of list B
third item of list C
....





Answers (6)