-->

Adding a TM superScript to a string

2019-02-21 10:28发布

问题:

I need to add the TM(trademark) superscript symbol next to a title in a C# string. is there anyway to possibly do this? Thanks!

回答1:

This answer is "\u2122" by Hans Passant™

Use the charmap.exe applet and copy/paste the character in your string literal.



回答2:

  1. Click Start
  2. Type Charmap
  3. Open Charmap
  4. Click Advanced View
  5. Type mark
  6. Copy desired value
  7. Paste to your code