a) a sequence of characters
b) array of characters
c) objects of built-in data type
d) a reference type
1 thought on “What are strings in C#?”
Leave a Comment
You must be logged in to post a comment.
a) a sequence of characters
b) array of characters
c) objects of built-in data type
d) a reference type
You must be logged in to post a comment.
c
Explanation: Generally, a string is defined as a sequence of characters but it is different in C#. In c++, the string is an array of characters. In case of C#, strings are objects of the built-in string data type. Thus, a string is a reference type.