C# string.Format 和 String.Format 的区别

string.Format 和 String.Format  ,不论是用法还是意思,都是一样的 

怎么使用? 通过 占位符来替换 ,类似于 Replace 的操作

string s = string.Format("你好世界{0},海{1}宝宝,{0}", "","");

s的结果为  “你好世界啊,海棉宝宝,啊”
原文地址:https://www.cnblogs.com/c2g5201314/p/14511866.html