私はストリーミングなどのようにそれらに書くことが私のファイル名を変換するために、複数のメモリストリームを使用しています拡張可能ではありません次のエラー:メモリストリームは、()
Unhandled Exception: System.NotSupportedException: Memory stream is not expandable.
at System.IO.__Error.MemoryStreamNotExpandable()
at System.IO.MemoryStream.set_Capacity(Int32 value)
at System.IO.MemoryStream.EnsureCapacity(Int32 value)
at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.Dispose(Boolean disposing)
at System.IO.TextWriter.Dispose()
at csharp.Program.Save() in /home/nids/Documents/csharp/Program.cs:line 91
at csharp.Program.Main(String[] args) in /home/nids/Documents/csharp/Program.cs:line 290
ライン290は私がエラーを引き起こしているかわからないんだけどSave()
を呼び出すラインです!
ルック91 –
@QualityCatalystライン91は素晴らしい作品のStreamWriter – Meryem