1.

Which among the following methods are used to write characters to a string?(a) StreamWriter(b) StreamReader(c) StringWriter(d) None of the mentionedThe question was asked in unit test.This interesting question is from Reading Console Input Operations topic in section Console I/O Operations and Stream Classes of C#

Answer»

The CORRECT CHOICE is (C) StringWriter

Best explanation: The STREAM class method writes characters to the STRING.



Discussion

No Comment Found

Related InterviewSolutions