+ 2

Is it possible to print out everything? Both name and age with one command?

C# class https://code.sololearn.com/Wv35hzAEGexX/?ref=app

8th Feb 2019, 1:55 PM
Seth Michael
Seth Michael - avatar
2 ответов
+ 2
Console.Writeline(me.name, me.age); Or formatting the output: Console.Writeline(
quot;Name: {me.name}\tAge: {me.age}");
8th Feb 2019, 2:29 PM
Pedro Tortello
Pedro Tortello - avatar
+ 2
Thanks Tortello, it was helpful!
8th Feb 2019, 2:44 PM
Seth Michael
Seth Michael - avatar