6
Reply

print three lists <> using foreach

kiki

kiki

Jan 23 2008 11:24 AM
5.6k
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
....





Upload Source Code  Select only zip and rar file.
Answers (6)