public void CreateScript(string path) { FileWriter F = new FileWriter(path, false); try { string source = this.GetScript(); F.Write(source); } finally { F = null; } }
public void CreateFile(string filename) { string filecode = ""; foreach(string file in this.files) { filecode += this.getCode(file) + "\r\n"; } FileWriter FW = new FileWriter(filename); try { FW.Write(filecode); } finally { FW = null; } }