Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

get one parameter from list in an new list c#

//Select that column and use ToList to get a List<T> back like:

List<string> tagList = Model.Select(t=> t.Column).ToList();

//or with a query syntax:

List<string> tagList = (from t in Model select t.Column).ToList();
 
PREVIOUS NEXT
Tagged: #parameter #list #list
ADD COMMENT
Topic
Name
3+5 =