convert string to list of strings 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();