c# reformat a string code example
Example 1: c# string formatting
name = "Bob";
age = 27;
info = $"Your name is {name} and you are {age} years old";
Example 2: mvc string format
@String.Format("{0:dd MMM yyyy HH:mm}", item.Date).ToString()
name = "Bob";
age = 27;
info = $"Your name is {name} and you are {age} years old";
@String.Format("{0:dd MMM yyyy HH:mm}", item.Date).ToString()