using (Stream s = new FileStream(fullFilePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { ... }
or,
using (Stream s = System.IO.File.Open(fullFilePath,
FileMode.Open,
FileAccess.Read,
FileShare.ReadWrite))
{
}
'Programming' 카테고리의 다른 글
The Go Programming Language, or: Why all C-like languages except one suck. (0) | 2012.05.28 |
---|---|
(C#) 오라클 DB 연결 예제 (0) | 2012.05.28 |
(Visual C++) lnk1169 - one or more multiply defined symbols found (0) | 2012.05.28 |
(C#) One-liner (0) | 2012.05.28 |
The Adventures of a Pythonista in Schemeland (0) | 2012.05.28 |