O'Reilly logo
  • Max Levy thinks this is interesting:

Console.WriteLine($@"The value of pi is {(round ?
    Math.PI.ToString() : Math.PI.ToString("F2"))}");

From

Cover of Effective C#: 50 Specific Ways to Improve Your C#, Third Edition

Note

probably the opposite:!round will work better