Answers for "c# convert split to list"

C#
6

c# split a string and return list

listStrLineElements = line.Split(',').ToList();
Posted by: Guest on February-25-2020
0

c# convert split to list

using System.Linq; // <----- Required for .ToList()

listStrLineElements = line.Split(',').ToList();
Posted by: Guest on November-27-2020
-2

how to split a string by in c#

char[] separator = new[] { ',' };
var result = aiTranslatedString.Split(separator, StringSplitOptions.RemoveEmptyEntries).ToList();
Posted by: Guest on October-08-2020

C# Answers by Framework

Browse Popular Code Answers by Language