c# add variables to string code example
Example: insert variables into string c#
string data = "Mr. Rogers";
var str = $"Hello {data}, how are you doing?";
string data = "Mr. Rogers";
var str = $"Hello {data}, how are you doing?";