I was working on a little project this morning, and I typed this into Visual Studio…
Fd1YesNo[1] = (value) ? 'Y' : 'N';
The Fd1YesNo variable is a string, and value is a boolean. So, of course, that little bit of code came with this ugly little message. I don’t want to get too much into the design of this application, or why I have to do a move like this.

I’m sorry, but stuff like this should be really easy. And it’s not that difficult. I’ll just have to tear apart the string, change the one character that I want to change, and put the string back together. It’ll be a simple enough extension method, like SetChar(int index, char newValue) or something. Still, I can’t help but question why doesn’t the language do this for me?