Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const string fileName = "tmp.tmp";
- byte[] dataToWrite = new byte[] { 0, 1, 0, 1 };
- FileStream file = new FileStream(fileName, FileMode.Create);
- file.Write(dataToWrite, 0, dataToWrite.Length);
- System.GC.Collect();
- System.GC.WaitForPendingFinalizers();
- File.Delete(fileName);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement