I want to make `C#` look nice in my book, but with the following:

`C\#` it looks like this:

![enter image description here](https://i.stack.imgur.com/0bG4V.png)

When it should look more like this:

![enter image description here](https://i.stack.imgur.com/yC9SE.png)

For the second one, I used verbatim, but I don't want that and I've also used a macro like the following everywhere so it should be easy to replace:

`\def\Csharp{C\#}`

Any suggestions on how I make this look correct?

**Edit**

I am writing a programming book, in the C# Language Specification, it looks like this:

![enter image description here](https://i.stack.imgur.com/25UXw.png)