Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Content of a newly created disk file

$
0
0

Suppose something like the following snippet:

string filePath = @"C:\MyFolder\MyFile.dat";
var fs = File.Create(filePath);
fs.SetLength(1000000000);
fs.Close();
Is a newly created file always guaranteed to contain nulls only?


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>