I want to write a txt file (like I was using string author and everything in Visual Studio with C #
How does this work?
What is the X ++ syntax?
>
You can use TextIo X ++ class or CLRInterop. There are two X ++ jobs to display both methods.
Fixed Zero Job_TextIO (Arg_s_gargs) {TextIo textIo; #Fil; TextIo = new text O (@ "C: \ textIOtest.txt", #IO_WRITE); TextIo.write ("Line 1 \ n"); TextIo.write ("Line 2");} Fixed Zero Job_StreamWriter (Args _args) {System.IO .streamWriter sw; interop permissions perm = new interopermination (interopicind :: Clientitorp);; perm.assert (); Sw = new system. IO.StreamWriter (@ "C: \ test.txt"); Sw.WriteLine ("Line 1); Sw.WriteLine ("Line 2"); sw.Flush (); sw.Close (); sw.Dispose (); CodeAccessPermission :: revertAssert ();}
No comments:
Post a Comment