The . . . . . . . . method pads the string on left, that is, it inserts the padded characters at the beginning of string.

[amp_mcq option1=”PadLeft” option2=”PadRight” option3=”PadFront” option4=”PadBegin” correct=”option1″]

The correct answer is: A. PadLeft

The PadLeft method pads the string on the left, that is, it inserts the padded characters at the beginning of the string.

The PadRight method pads the string on the right, that is, it inserts the padded characters at the end of the string.

The PadFront method is not a valid method in C#.

The PadBegin method is not a valid method in C#.

Exit mobile version