Multiple Choice
Which of the following expressions will yield the string "John Doe", where name1 = "John Blake" and name2 = "Janet Doe"?
A) name1.Substring(0, 4) & name2.Substring(6, 8)
B) name1.Substring(0, 4) & name2.Substring(0, 3)
C) name1.Substring(0, 5) & name2.Substring(6, 3)
D) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q91: Which of the following statements removes all
Q92: What will be the output of
Q93: Assume that x, y, and temp are
Q94: The Trim method is used to remove
Q95: What will be the output of the
Q96: When the Mask property of a masked
Q97: What will be the output of the
Q98: After the statement txtBox.Text = "" is
Q99: A string literal is a sequence of
Q101: When declaring a variable that will refer