GIAC
GSSP-NET · Question #159
You work as a Software Developer for ManSoft Inc. The company uses Visual Studio.NET 2005 as its application development platform. You have recently created an application that includes the code…
The correct answer is B. True. See the full explanation below for the reasoning.
Question
You work as a Software Developer for ManSoft Inc. The company uses Visual Studio.NET 2005 as its application development platform. You have recently created an application that includes the code shown below. string str1 = "ABC"; string str2 = "u"; str2 += "Certify"; Console.WriteLine(str1 == str2); Console.WriteLine((Object) str1 == (Object) str2); Console.WriteLine(str1.Equals(str2)); GIAC GSSP-.NET Exam What will be the output of the above code?
Options
- ATrue
- BTrue
- CFalse
- DFalse
How the community answered
(46 responses)- A17% (8)
- B72% (33)
- C4% (2)
- D7% (3)
Community Discussion
No community discussion yet for this question.