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
Maybe a bit hacky, but you can access the BaseStream property of the StreamWriter and use Seek(long offset, SeekOrigin origin) on it. (But be warned, as not every stream can use Seek.)
BaseStream
StreamWriter
Seek(long offset, SeekOrigin origin)
Seek