C# Programming - Strings - Discussion
Discussion Forum : Strings - General Questions (Q.No. 15)
15.
Which of the following statements are correct about the String Class in C#.NET?
- Two strings can be concatenated by using an expression of the form s3 = s1 + s2;
- String is a primitive in C#.NET.
- A string built using StringBuilder Class is Mutable.
- A string built using String Class is Immutable.
- Two strings can be concatenated by using an expression of the form s3 = s1&s2;
Discussion:
1 comments Page 1 of 1.
Subhajit said:
1 decade ago
I think the right answer is not there. 1, 2, 3, 4 all are right. String is primitive, immutable. String builder is mutable. We can add string by s1+s2.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers