Q:

Fill List  from List 

i have list of string 
 List<string> names = new List<string> { "Ahmed Row 1", "Mohamed Row 2" , "asdsa","asdasadas","asdsadsa"};
 List<string> Ages = new List<string> { "22 Row 1", "30 Row 2", "12321321","354435","987987"};

and list of text boxes 
List<TextBox> NamesTexbox = new List<TextBox>();
  List<TextBox> AgesTextbox = new List<TextBox>();

i want to fill the list of string from the list of text box 

A:

Read up on System.Linq.Enumerable extension methods
names = NamesTextbox.Select(t => t.Text).ToList();

Or
names.AddRange(NamesTextbox.Select(t => t.Text);

