convert string element to list in c# code example
Example: string to list c#
var names = "Brian,Joe,Chris";
List<string> result = names.Split(',').ToList();
var names = "Brian,Joe,Chris";
List<string> result = names.Split(',').ToList();