multiple arithmetic operators : Operator Precedence « Operator « C# / CSharp Tutorial






class MainClass
{

  public static void Main()
  {
    
    System.Console.WriteLine("3 * 4 / 2 = " + 3 * 4 / 2);
  }
}
3 * 4 / 2 = 6








3.18.Operator Precedence
3.18.1.The Precedence of the C# Operators
3.18.2.Operator precedence, with () and without ()
3.18.3.multiple arithmetic operators
3.18.4.Order of Precedence for Expressions