Solved

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

Question 2

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents