Examveda

Which of the following is the correct way to perform string concatenation in C#?

A. string result = "Hello" add "World";

B. string result = "Hello" . "World";

C. string result = "Hello".concat("World");

D. string result = "Hello" + "World";

Answer: Option D


Join The Discussion

Related Questions on Operators and Expressions in C Sharp