Explore topic-wise MCQs in Csharp.

This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Csharp knowledge and support exam preparation. Choose a topic below to get started.

1.

WHICH_OF_THESE_IS_A_METHOD_USED_FOR_READING_BYTES_FROM_THE_FILE??$

A. clear()
B. ReadByte()
C. put()
D. write()
Answer» C. put()
2.

Which of these data types is returned by every method of OutputStream?

A. int
B. float
C. byte
D. none of the mentioned
Answer» E.
3.

Which of these classes is used to read and write bytes in a file?

A. FileReader
B. FileWriter
C. FileInputStream
D. InputStreamReader
Answer» D. InputStreamReader