Jagged Arrays in C# Interview Questions 2019-2020-21 - 2
Question: 6
What is the difference between System.String and System.Text. String Builder classes?
System.String is immutable.
System.String Builder was designed with the purpose of having a mutable String where a variety of operations can be performed.
Question: 7
What are the three ways to perform string comparison in C#?
In C#, there are three ways to perform the string comparison.
Using Compare () method.
Using Equals () method.
Using = = operator.
Question: 8
Define Mutable string?
Strings are modifiable
Created using String Builder Class.
Question: 9
Define Immutable String?
Characters contained in the strings are not modified.
Created using system. String class.
Question: 10
What is called rank of the element?
The rank of an array represents the dimensions of an array. The left most pair of square brackets decide the rank of an array.
The rank of an array is one plus the number of commas in the left most pair of square brackets.
GATE Chemical Engineering Questions and Answers More
GATE 2024-2025 Question Paper Pdf Download More
Banking Awareness Questions 2024-2025 More
Computer Quiz Questions for Bank Exams More
Computer Quiz Questions for Bank Exams More
PG TRB Zoology Online Test More
Advanced WPF Interview Questions and Answers for Freshers More
History General Awareness Gk Questions and Answers More
CCC Computer Course Study Material & Notes Pdf in English More
1000+ Steam and Power Generation MCQ Questions and Answers More