c# - How to write superscript in a string and display using MessageBox.Show()? -


i trying output area using message box, , should displayed as, example, 256 unit^2...

how can write superscript (for powers) , subscript (like o2 oxygen)???

this guy here adds superscript (tm):

adding tm superscript string

i hope got myself clear! in advance , sorry inconvenience...

you try using unicode super/subscripts, example:

var o2 = "o₂";       // or "o\x2082" var unit2 = "unit²"; // or "unit\xb2" 

if doesn't work, i'm afraid you'll need to write own message box.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -