1.

Choose the base class for string() method.(a) System.Array(b) System.char(c) System.String(d) None of the mentionedThe question was posed to me during a job interview.My doubt is from String Formatting topic in portion Miscellaneous topics of C#

Answer»

The correct option is (c) System.String

Explanation: String is an ALIAS for the PREDEFINED “System.string” CLASS from which most of the string() METHODS are DERIVED.



Discussion

No Comment Found

Related InterviewSolutions