ofstream equivalent in C#
Hi everyone,
I have to convert the following C++ lines in C# :
ofstream ParamFile("../filename.txt", ios::trunc);
ParamFile << a_variable;
ParamFile.close();
I have no idea of how to write it in C#.
I also wonder how you start a Java program via C# code. With C++, it was simply :
system("nameofthefile.bat");
Thanks for reading this post.
david.khoyPosted Nov 19, 2003, 4:17 AM
jcity444Posted Nov 12, 2003, 12:50 PM
ssswamiiPosted Nov 12, 2003, 11:29 AM