Solved

Identify the Following Statements Which Will: Format a String to Contain

Question 32

Multiple Choice

Identify the following statements which will: Format a string to contain the word "Name" in a column of 20 characters wide, followed by the word "Address" in a second column, also 20 characters wide.


A) String.Format("{0, 20}{1, 20}", "Name", "Address")
B) String.Format("{ 20}{ 20}", "Name", "Address")
C) String.Format(20, 20, "Name", "Address")
D) String.Format(20, 40, "Name", "Address")

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions