Can it be used string.Formatas follows?
1) Replace the number with a string
string sample = "Hello, {name}";
* * 2) Is it possible to sequentially add lines for a string template
string sample = "My name is {0}, I am living in {1} ...";
ex)
sample[0] = "MIKE";
sample[1] = "Los Anageles";
source
share