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

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值