SilverLight中显示上标,下标,平方

SilverLight中显示上标,下标,平方,第1张

概述string water = "H" + "\x2082" + "O"; // You can split the string up if you want. string ammonia = "NH\x2083"; // Or not split it.string energy = "e=mc\x00B2"; // Most well-known, poorly understood
string water = "H" + "\x2082" + "O"; // You can split the string up if you want. string ammonia = "NH\x2083"; // Or not split it.string energy = "e=mc\x00B2"; // Most well-kNown,poorly understood equation.string PythagoreanTheorem = "a\x00B2+b\x00B2=c\x00B2"; \ Also well-kNown.  


 

 

3. Character reference.

Superscript:

0 : U+2070

1 : U+00B9

2 : U+00B2

3 : U+00B3

4-9 : U+2074-2079

+ : U+207A

- : U+207B

= : U+207C

( : U+207D

) : U+207E

n : U+207F

Subscript

0-9 : U+2080-2089

+ : U+208A

-: U+208B

=: U+208C

(: U+208D

): U+208E

总结

以上是内存溢出为你收集整理的SilverLight中显示上标,下标,平方全部内容,希望文章能够帮你解决SilverLight中显示上标,下标,平方所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://www.outofmemory.cn/web/1018286.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-23
下一篇 2022-05-23

发表评论

登录后才能评论

评论列表(0条)

保存