hw to use list in c#

Posted by Oswaldlily under C# on 11/25/2011 | Points: 10 | Views : 1388 | Status : [Member] | Replies : 2
I have used list in C#
a b
list0 ->row1.column1 row1.column2
list1->row2.column1 row2.column2
list2->row3.column1 row3.column2

i printed like
consol.writelin(list[0].a,list[0].b);

i need lik
consol.writeline(list[0]) whihc should print that row fully
for list[1]-shd print that row fully.....




Responses

Posted by: Rajeev.Shukla on: 11/25/2011 [Member] Starter | Points: 25

Up
0
Down
Use following link that will solve your problems

http://www.dotnetperls.com/list

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Arefin on: 11/26/2011 [Member] Starter | Points: 25

Up
0
Down
Hi Oswaldlily,
Plz clarify your requirement with details. You can follow Rajeev's reply. That will be helpful for you about List.

Thanks,
Arefin

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response