Console.WriteLine中{0}处理
string str = "hello";
Console.WriteLine{“{0}”,i};//输出hello
假如我想输出"hello {0}"
怎么办
[解决办法]
string str = "hello";
Console.WriteLine("{0}{1}", str, "{0}");//输出hello{0}