Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
random file generation
FileStream sw = new FileStream("file.txt", FileMode.Create);
sw.Seek(1024, SeekOrigin.Begin);
sw.WriteByte(0);
sw.Close();
@pysiak
using System.IO;
public class Example
{
    public static void Main()
    {
        FileStream sw = new FileStream("file.txt", FileMode.Create);
        sw.Seek(1024, SeekOrigin.Begin);
        sw.WriteByte(0);
        sw.Close();
        return;
    }
}

Hi, just following from stackoverlow...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.