怎么样将//替换为/ string newPath = stringFileName.Replace("//", "/");好像没什么效果怎么替换啊 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以啊string stringFileName = "c://temp//temp//.txt";string newPath = stringFileName.Replace("//", "/");Text = newPath; string stringFileName = @"c:/temp/temp/.txt"; string stringFileName = "c://temp//temp//.txt";第一个 / 是转义字符 第二个 / 才表示路径 System.Windows.Forms.ToolStripTextBox();为什么在ie 工具栏上不显示 属性问题 如何通过schema生成xml文件 在BS中gridview 双击一行获取某一行的值, 如何通过程序知道路由器的外网IP地址 c#从oracle数据库中日期字段取出值 算法改进 访问出错 ※※→哪位高手解答,图片的调用问题... [原创资料]有谁是还没有入门的。有机会学习了。 初学C#:为任何类型的数组添加一个不重复的成员,应怎么做? 这个程序的行为让我很疑惑
string newPath = stringFileName.Replace("//", "/");
Text = newPath;
第一个 / 是转义字符
第二个 / 才表示路径