split a string into an array by new line c# 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);