我可以这样使用string.Format
吗?
1 ) 将数字替换为字符串
string sample = "Hello, {name}";
//I want to put a name string into {name}, is it possible?
* *2 ) 是否可以将字符串一一添加到字符串模板
string sample = "My name is {0}, I am living in {1} ...";
// put {0} value
// and put {1} value separately
ex)
sample[0] = "MIKE";
sample[1] = "Los Anageles";