在C#中,下面的差异是否显着?
int a, b; double result; result = (double)a / b; result = a / (double)b; result = (double)a / (double)b;
你用哪一个?
c# casting operator-precedence operator-keyword
c# ×1
casting ×1
operator-keyword ×1
operator-precedence ×1