Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Dynamically checking IList C#

return ((IEnumerable)parentList).Cast<object>()
    .Select(item => new SelectItem { Value = item, Text = item.ToString() })
    .OrderBy(selectItem => selectItem.Text)
    .ToList();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Dynamically #checking
ADD COMMENT
Topic
Name
5+8 =