Things only #LaTeX can do:
If you want to use a properly displayed # symbol (for C#), you "only" need to include a few hundreds lines of code… no problem… 🤷
@rugk Just escape the hash character: C\# should do the trick. Your code seems to draw an new glyph.
@kirschwipfel @rugk yes, C\# is the correct way. If you don't like how it looks, change font. The linked answer is just funny way how to draw a character. The fact that you can do such things in LaTeX doesn't meant that you have to. There are always easier ways.
@kirschwipfel @rugk @michal_h21 Try writing a custom command that uses \href and also creates a footnote of the URL. The "#" and "_" chars and a few others need some quite bizarre hacks to work.