✅ How do I make an exponent in winforms?
I'm trying to make a random math test simulator for finding the roots of a quadratic equation. I'm not sure how to make the text pretty upon a label though. How could I make the exponent appear over a digit correctly like in the image?
3 Replies
Could look into this https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts
Unicode subscripts and superscripts
Unicode has subscripted and superscripted versions of a number of characters including a full set of Arabic numerals. These characters allow any polynomial, chemical and certain other equations to be represented in plain text without using any form of markup like HTML or TeX.
The World Wide Web Consortium and the Unicode Consortium have made re...
lbl_Question.Text = "x" + "\u00B2";
I ended up finding this
but I want to learn more about the second line there
I think you're link is what I needed, thank you.
Closed!