المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : what is the maximum size



C# Programming
11-27-2009, 05:12 AM
Dear friends,

small Clarification what is the maximum size of byte array?

if i write like this ( for 2 gb file will it handle?)

byte[] bdata = System.IO.File.ReadAllBytes("MyFileName.doc");

Why the Stream.Read(buffer[],offset,"length") "Length" as "int" not a "double" (if it more then 2gb File How can i specify the length "becase the integer maximum value is (2gb -1 byte)...

if i want to read the last 10 bytes in more then 2gb file how can i read?

any idea? link?..

By

joe.I