Discussion :: C#.Net MCQs
-
Choose Output for the following set of code : static void Main(string[] args){string s1 = "Hello" + " I " + "Love" + " ComputerScience ";Console.WriteLine(s1);Console.ReadLine();}
Answer : Option B
Explanation :
Here '+' defined operator works as concatenation for strings. Output : Hello I Love ComputerScience.
Be The First To Comment