PrepAway - Latest Free Exam Questions & Answers

Tag: You need to write a code segment that transfers the first 80 bytes from a stream variable named stream1 into

Which code segment should you use?

You need to write a code segment that transfers the first 80 bytes from a stream variable named stream1 into a new byte array named byteArray.
You also need to ensure that the code segment assigns the number of bytes that are transferred to an integer variable
named bytesTransferred.
Which code segment should you use?