Question: 2. Which of the following right-aligns the contents of the strNumbers variable? a. strNumbers = strNumbers.PadLeft(10) b. strNumbers = strNumbers.PadRight(10) c. strNumbers = strNumbers.AlignLeft(10) d.

2. Which of the following right-aligns the contents of the strNumbers variable?

a. strNumbers = strNumbers.PadLeft(10)

b. strNumbers = strNumbers.PadRight(10)

c. strNumbers = strNumbers.AlignLeft(10)

d. strNumbers = strNumbers.RightAlign(10)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock