1.

Which of these operators can be used to concatenate two or more String objects?(a) +(b) +=(c) &(d) ||This question was addressed to me in my homework.The query is from Introduction of String Formatting in portion Miscellaneous topics of C#

Answer»

Right choice is (a) +

For explanation: STRING S1 = “Hello”+ ” I ” + “LOVE” + ” ComputerScience “;

Console.WriteLine(s1);

Output :



Discussion

No Comment Found

Related InterviewSolutions