日期:2014-05-18  浏览次数:20788 次

StreamWriter(xxxx)参数若写为字符变量该如何写


StreamWriter(xxxx), 参数若写为字符变量该如何写

------解决方案--------------------
C# code
            string s = "e:\\1.txt";
            System.IO.StreamReader reader = new System.IO.StreamReader(s);