remove index of String c# code example
Example 1: remove index from array c#
//You can't change length of array in c#
//But you change Lists in c#
int foos = new List<int>(array);
foos.RemoveAt(index);
array = foos.ToArray();
Example 2: c# remove specific character from string
string phrase = "this is, a string with, too many commas";
phrase = phrase.Replace(",", "");