1
Stream str = new FileStream(somefile, FileMode.OpenOrCreate);
Stream newstr = str;
str.Dispose(); // I disposed only str and not new str
byte[] b = new byte[newstr.Length];// got exception here stating unable to access closed stream...
아래로 다른 할당하고 처분하는 내 스트림을하는 동안 예외 건너 온 이유는 ...? 나는 C# 및 Stream
을 처음 사용합니다. Stream
이 네임 스페이스 System.IO
에있는 곳입니다.
고맙습니다. .. 알았습니다. –