3
C#에서 응용 프로그램을 만들고 있습니다. 여기에 특정 파일의 바이트 수를 찾고 싶습니다. 여기에 코드를 사용하고 있습니다.파일에서 바이트 수를 찾는 방법은 무엇입니까?
using(FileStream fs=new FileStream(filename,FileMode.Open,FileAccess.Read))
{
//Here i want to find the number of Bytes.
//Some more code.
}
제발 도와주세요. 미리 감사드립니다.