console - How can I write these variables into one line of code in C#? - Stack Overflow

PHOTO EMBED

Thu Dec 08 2022 23:09:55 GMT+0000 (Coordinated Universal Time)

Saved by @Hack3rmAn #cs

Console.WriteLine($"{mon}.{da}.{yer}");  // note the $ prefix.
content_copyCOPY

https://stackoverflow.com/questions/15418467/how-can-i-write-these-variables-into-one-line-of-code-in-c