using System; public class Test { private static bool Flag = false; static void Main(string[] args) { var foo = 34; var bar = 42; // Positional parameter notation (clunky and error prone) Console.WriteLine(String.Format("The foo is {0}, and the bar is {1}.", foo, bar)); // String Interpolation notation (without added brittleness) Console.WriteLine($"The foo is {foo}, and the bar is {bar}."); } }