Friday, February 24, 2023

Console.writeline c#

with use of $ in console.writeline we can add {} brackets.

int a=5;

console.write line($"hello {a}")

No comments:

Post a Comment