Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: ConsoleColoredString PadRight(int, ConsoleColoredChar)

Declaration

public ConsoleColoredString PadRight(
    int totalWidth,
    ConsoleColoredChar paddingChar
)

Summary

Returns a new string that left-aligns the characters in this instance by padding them on the right with a specified colored character, for a specified total length.

Parameters

inttotalWidth The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
ConsoleColoredCharpaddingChar A colored padding character.