I am making an application in c#. In that application I have one byte array and I want to write that byte array data to particular position.
Here i used the followin
You can set the position inside the stream like this:
writer.BaseStream.Seek( 1000, SeekOrigin.Begin);
Add this before your WriteLine code.
WriteLine
Note that I have not included any code to check that there is at least 1000 chars inside the file to start with.