Horje
c# open file for reading and writing Code Example
c# open file
System.Diagnostics.Process.Start(filePath);
c# open file for reading and writing
static void Main(string[] args)
    {
        var text = File.ReadAllText(@"C:\words.txt");
        File.WriteAllText(@"C:\words.txt", text + "DERP");
    }
c# read file while writing
using (var fs = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
using (var sr = new StreamReader(fs, Encoding.Default)) {
    // read the stream
    //...
}




Csharp

Related
xml reader attributes Code Example xml reader attributes Code Example
c# load a file into binary buffer Code Example c# load a file into binary buffer Code Example
can't select ui in scene view unity Code Example can't select ui in scene view unity Code Example
blocked script execution in '<url>' because the document's frame is sandboxed and the 'allow-scripts' permission is not set. Code Example blocked script execution in '<url>' because the document's frame is sandboxed and the 'allow-scripts' permission is not set. Code Example
unity get velocity at point Code Example unity get velocity at point Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10