3
我的问题是,我们可以写:的Visual C#.NET消息框
String s="Sarath";
MessageBox.Show("My Name is Sarath {0}",s);
我想在拿到名{0} ..... 有什么办法...
提前致谢。
我的问题是,我们可以写:的Visual C#.NET消息框
String s="Sarath";
MessageBox.Show("My Name is Sarath {0}",s);
我想在拿到名{0} ..... 有什么办法...
提前致谢。
使用String.Format是什么;)
string myName = "Sarath";
MessageBox.Show(String.Format("My name is {0}.", myName));