C# split string by new line characters code example
Example: c# separate string by a new line
var result = mystring.Split(new string[] {"\\n"}, StringSplitOptions.None);
var result = mystring.Split(new string[] {"\\n"}, StringSplitOptions.None);