Exam4Training

The String.Format("Input ={0} and Output = {0}", "1","2") expression returns the following:

The String.Format("Input ={0} and Output = {0}", "1","2") expression returns the following:
A . Input = {0} and Output = {0}
B. Input = 1 and Output = 2
C. Input = 1 and Output = 1
D. Input = {1} and Output = {2}

Answer: C

Exit mobile version