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

PadLeft
PadRight
PadFront
PadBegin

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