Console.WriteLine("{0}.{1}.{2}", mon, da, yer); Console.WriteLine(mon + "." + da + "." + yer); Console.WriteLine($"{mon}.{da}.{yer}"); // note the $ prefix.