string s = "12,good,5"; string[] parts = s.Split(',');
string s = "12, good, 5"; string[] parts = s.Split(',').Select(p => p.Trim()).ToArray();
object[] array = textBox1.Text.Split(',');
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)