to string format c# code example
Example: c# string formatting
name = "Bob";
age = 27;
info = $"Your name is {name} and you are {age} years old";
name = "Bob";
age = 27;
info = $"Your name is {name} and you are {age} years old";