string to array c# comma 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(',');