c# convert a string to a list 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();