Strings built using the String class are immutable, whereas those built using the StringBuilder class are mutable?
Correct Answer: True
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C# Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C# MCQ Questions
Which of the following best describes the correct usage of exception handling over conventional error handling approaches? a) Errors can be ignored but exceptions cannot be ignored. b) Exception handling allows separation of the program’s logic from the error handling logic, making software more reliable and maintainable. c) try – catch – finally structure allows guaranteed clean up in event of errors under all circumstances.
Choose the incorrect statement about delegates?
What is output for the following set of Code? static void Main(string[] args) { String obj = 'hello'; String obj1 = 'world'; String obj2 = obj; string s = obj+' '+obj1; Console.WriteLine(s.IndexOf(r)); Console.ReadLine(); }
Which of the following stream class method you can use for the close connection?
How you can display different data at run time and design time?
What can lambda expressions be turned into by the C# compiler
Which of the following keywords is not reserved in C#
String a = 'hello'; String b = 'hello'; var answer = object.ReferenceEquals(a, b); What is the value of answer?
How does LINQ lambda syntax differ from LINQ query syntax in terms of capabilities?
The following program is expected to run, and after 500 ms write 'OK' and exit, but fails to do that. How would you fix this? class Test { int foo; static void Main() { var test = new Test(); new Thread(delegate() { Thread.Sleep(500); test.foo = 255; }).Start(); while (test.foo != 255) ; Console.WriteLine('OK'); } }