Filestream, locking and serlialization
<p>I need to open a file, deserialize a List&lt;> of objects, remove one of the objects from the list and re-serialize the List&lt;> back to the file without releasing a lock on the file.</p>

<p>Deserialization and removal of the object from the List&lt;> is no problem, the problem comes when I try and serialize the List&lt;> back to the file as I get the remains of the previous data... anybody any idea how to remove the remaining old data at the end of the file?</p>

<p>Thanks,
Paul.</p>
