replace char in a string c# based on index code example Example: c# remove character from string at index remove char from an index of string