string sp;it by comma to array in c# code example
Example: convert comma separated string to array c#
string fruit = "Apple,Banana,Orange,Strawberry";
string[] split = fruit.Split(',');
string fruit = "Apple,Banana,Orange,Strawberry";
string[] split = fruit.Split(',');