C
C#2mo ago
xMaxrayx

✅ how I can write like this?

idk what it called but I can use same logic writing in other language
int a = 0;
int b = 1;

int addResult = a + b;

Console
.WriteLine(addResult)
.WriteLine("\nthanks");
int a = 0;
int b = 1;

int addResult = a + b;

Console
.WriteLine(addResult)
.WriteLine("\nthanks");
No description
2 Replies
jcotton42
jcotton422mo ago
WriteLine has a return type of void, so you cannot chain calls like that @xMaxrayx It will need to be two Console.WriteLines.
xMaxrayx
xMaxrayx2mo ago
@beware of the leopard I see many thanks ❤️ lol why this called app? sounds discord change a lot
Want results from more Discord servers?
Add your server