c# string replace character at index