insert variables into string c#

82

insert variables into string c# -

string data = "Mr. Rogers";
var str = $"Hello {data}, how are you doing?";

Comments

Submit
0 Comments