turn string into list Csharp 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();