my problem is:
In every loop i get 3 values (logic to get strings) and store it into customer. With the following code I am getting only my 5th loop values in my final customer list.
List
for (int i = 0; i < 5; i++ )
{
customer= logic to get values (here I get 3 strings)
}
Thanks allot
Darma
{
customer= logic to get values (here I get 3 strings)
}
Thanks allot
Darma
darma tejaPosted May 3, 2013, 11:32 AM
Is there any short way to do this?
Thanks,
Darma
darma tejaPosted May 3, 2013, 11:30 AM
Thanks allot for the reply.
Actually logic to get values is also a list, so that we can not use customer.Add(logic to get values)
I did it like this and It works fine now:
Darma
Javeed M ShaikhPosted May 3, 2013, 10:48 AM
customer.Add(logic to get values);