且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将名称abc.xml像可变的filename.xml一样

更新时间:2023-11-07 11:54:22

Ganesh_verma写道:
Ganesh_verma wrote:

我想输入名称名称abc.xml就像可变的filename.xml

i wants to put the name name abc.xml like varivable filename.xml



你的意思是这样吗:



Do you mean something like:

string xpath = "abc.xml";
SW = File.CreateText(@"C:\\WinDirectory\\" + xpath);