Alan Bugeja

Alan Bugeja

  • NA
  • 5
  • 0

C# Byte array

Mar 1 2006 11:54 AM
Hello guys I have an application which opens a file get the bytes form the file and send them. My problem is that when i declare Byte[] myBytes = new Byte[1024]... What about if i don't know the size of the file ? how can i resolve the "new Byte [1024]" ? so that files larger than 1024 can be send ? thx