Learning C# as I wish to do game development using Unity. I’ve started a Windows Forms Application using C# so I can output the result, as I’m not familiar with how to output it any other way. I come from a Visual Basic background.
double Result;
Result = Math.Pow(2, 24);
lblResult.Text = Result.ToString();
I could also do this using
lblResult.Text = Math.Pow(2,24).ToString();