我总是很好奇.
为什么这样做:
double Number = Convert.ToDouble(TextBox1.Text);
但这不是:
double Number = (double)TextBox1.Text;
c# casting
c# ×1
casting ×1