How Can I Open A file for reading and/or writing in C# ?
I don't mean using openfiledialog / savefiledialog .
I mean something Like C++ (non-visual C++).
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Roy SPosted Jul 20, 2010, 10:34 AM
http://msdn.microsoft.com/en-us/library/z0w1kczw.aspx
Majid KamaliPosted Jul 20, 2010, 10:28 AM
are these obligatory ?
What do they do ?
Jaish MathewsPosted Jul 19, 2010, 2:24 PM
An old article in 1.1 version saying abt the basics of serialization with a good example. Many methods used her may be absolete. But you will get a clear idea about read/write objects in a file. http://www.c-sharpcorner.com/UploadFile/jaishmathews/ApplySerializationinaRealLifeSituation03252006092701AM/ApplySerializationinaRealLifeSituation.aspx?ArticleID=195aa9fd-3337-438f-a675-c4c83c7e75ae
Sam HobbsPosted Jul 19, 2010, 1:49 PM
Majid KamaliPosted Jul 19, 2010, 9:19 AM
Sam HobbsPosted Jul 18, 2010, 7:51 PM
Majid KamaliPosted Jul 18, 2010, 6:38 PM
Sam HobbsPosted Jul 18, 2010, 5:10 PM
Roy SPosted Jul 18, 2010, 4:33 PM
http://www.csharp-station.com/HowTo/ReadWriteTextFile.aspx