C#的练习小程序集锦

u301918089 23 0 RAR 2020-07-19 08:07:08

21 、字串变量.Replace("子字串","替换为") 字串替换 如: string str="中国"; str=str.Replace("国","央"); //将国字换为央字 Response.Write(str); //输出结果为“中央” 再如:(这个非常实用) string str="这是脚本"; str=str.Replace("

用户评论
请输入评论内容
评分:
Generic placeholder image 卡了网匿名网友 2020-07-19 08:07:09

还可以啊,要是有窗体程序就更好了。