Vidyalelo
C# Programming · Q19

File Handling and Input Output in C Sharp

Programming · C# Programming · question 19

Q19

What is the purpose of the File.ReadAllBytes() method in C#?

A.
Reads all lines of text from a file into a string
B.
Reads all bytes from a file into a byte array
Answer
C.
Reads all bytes from a file into a string
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board