InterviewSolution
Saved Bookmarks
| 1. |
Which of these operators can be used to concatenate two or more String objects?(a) +(b) +=(c) &(d) ||I got this question in an internship interview.This question is from Basic Operation on Strings in section Arrays and Strings of C# |
|
Answer» RIGHT OPTION is (a) + To explain:STRING s1 = "Hello"+ " I " + "LOVE" + " ComputerScience "; Console.WriteLine(s1); Hello I Love ComputerScience. |
|