String.Format("{0}:{1}", myDlg.UserName)中的{0}:{1}是什么意思 还记得 printf( "%d : %d", i,j ) ;吗?{0}表示第一个参数,{i}表示第i个 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 string s;s="it's here";string str=String.Format("You can see {0} and you see {0} again",s);//now str="You can see it's here and you see it's here again". that's usefully {0} is first param,{i} is (i+1)th param 同意stoway,就和以前mfc中的format差不多 c# 如何获取当前应用程序的图标 数组处理上的问题,数组有没有类似于字符串的substring一样的方法,可以从指定的下到开始,拷贝指定的个数到另一个同一类型的数组 C# 中如何处理C++中的句柄呢? 求一个正则表达式,急!!!! iis5.0如何设置默认上传文件大小 VS.NET新建不项目怎么办,有人遇到过这个问题么?? 文件名截取的问题,求大神 如何在给菜单前添加小图标? 为何无法更新 向做过局域网内聊天工具的高手请假!大家来看哦! 谁解决了这个问题,我送他几百分。微软专家MVP请注意这个问题,可能是.net bug 配置文件错误,请高手指点,在线等,急!!!
s="it's here";
string str=String.Format("You can see {0} and you see {0} again",s);
//now str="You can see it's here and you see it's here again". that's usefully