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}.");
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHJpdmF0ZSBzdGF0aWMgYm9vbCBGbGFnID0gZmFsc2U7CgkKCXN0YXRpYyB2b2lkIE1haW4oc3RyaW5nW10gYXJncykKCXsKCSAgICB2YXIgZm9vID0gMzQ7CgkJdmFyIGJhciA9IDQyOwoJCQoJCS8vIFBvc2l0aW9uYWwgcGFyYW1ldGVyIG5vdGF0aW9uIChjbHVua3kgYW5kIGVycm9yIHByb25lKQoJCUNvbnNvbGUuV3JpdGVMaW5lKFN0cmluZy5Gb3JtYXQoIlRoZSBmb28gaXMgezB9LCBhbmQgdGhlIGJhciBpcyB7MX0uIiwgZm9vLCBiYXIpKTsKCQkKCQkvLyBTdHJpbmcgSW50ZXJwb2xhdGlvbiBub3RhdGlvbiAod2l0aG91dCBhZGRlZCBicml0dGxlbmVzcykKCQlDb25zb2xlLldyaXRlTGluZSgkIlRoZSBmb28gaXMge2Zvb30sIGFuZCB0aGUgYmFyIGlzIHtiYXJ9LiIpOwoJfQp9