1.

Which method of character stream class returns the numbers of characters successfully read starting at count?(a) int Read()(b) int Read(char[] buffer, int index, int count)(c) int ReadBlock(char[ ] buffer, int index, int count)(d) none of the mentionedThis question was addressed to me in my homework.My question comes from Character Stream topic in portion Console I/O Operations and Stream Classes of C#

Answer»

The CORRECT answer is (B) int Read(char[] BUFFER, int index, int count)

The explanation is: Attempts to read the count characters into buffer starting at buffer[count], returning the number of characters successfully read.



Discussion

No Comment Found

Related InterviewSolutions