convert string to Generic list

Posted by Sekar.C under C# on 6/11/2012 | Points: 10 | Views : 6006 | Status : [Member] | Replies : 4
Hi,
how can assign string value to Genericlist in c#.

Regards
Sekar.c



Responses

Posted by: CGN007 on: 6/11/2012 [Member] Silver | Points: 25

Up
0
Down
List<string> cities = new List<string>();

cities.Add("New York");
cities.Add("Mumbai");
cities.Add("Berlin");
cities.Add("Istanbul");


More details here http://www.dotnetperls.com/list


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

Posted by: Sekar.C on: 6/11/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,
how can assign dataset value to Genericlist in c#

Regards
Sekar.c

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

Posted by: CGN007 on: 6/11/2012 [Member] Silver | Points: 25

Up
0
Down
Please check this link
http://dotnet-snippets.com/dns/create-dataset-from-generic-list-SID618.aspx

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

Posted by: CGN007 on: 6/23/2012 [Member] Silver | Points: 25

Up
0
Down
Mark as Answer if its helpful to you,that motivates...

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

Login to post response