Answers for "string to list c#"

C#
2

string to list c#

var names = "Brian,Joe,Chris";
List<string> result = names.Split(',').ToList();
Posted by: Guest on November-22-2020
0

convert string to list int c#

var numbers = sNumbers.Split(',').Select(Int32.Parse).ToList();
Posted by: Guest on June-04-2021

C# Answers by Framework

Browse Popular Code Answers by Language