下面内容内容是关于C#字符串格式化函数string.Format的简单用法的内容,应该对小伙伴们有用途。
string sr2 = "脚本分享网";
string ss = string.Format("本站域名是:{0},站名是:{1},欢迎光临", sr1, sr2);
转载于:https://blog.51cto.com/14152780/2375924
下面内容内容是关于C#字符串格式化函数string.Format的简单用法的内容,应该对小伙伴们有用途。
string sr2 = "脚本分享网";
string ss = string.Format("本站域名是:{0},站名是:{1},欢迎光临", sr1, sr2);
转载于:https://blog.51cto.com/14152780/2375924