All types
|
All members
RT.Util.Core
RT.KitchenSink
RT.KitchenSink.Collections
RT.KitchenSink.Geometry
RT.KitchenSink.Lex
RT.KitchenSink.Streams
RT.Util
RT.Util.Collections
RT.Util.Consoles
Colored
Console
Out
Console
Colored
Char
Console
Colored
String
Console
Colored
String
()
Console
Colored
String
(
input
,
foreground
,
background
)
Console
Colored
String
(
input
,
foreground
Colors
,
background
Colors
)
Console
Colored
String
(
strings
)
Console
Colored
String
(
strings
)
Console
Colored
String
(
characters
)
Console
Colored
String
(
value
,
foreground
,
background
)
CharAt
(
index
)
Color
(
foreground
)
Color
(
character
,
foreground
)
Color
(
foreground
,
background
)
Color
(
character
,
foreground
,
background
)
ColorBackground
(
background
)
ColorBackgroundWhereNull
(
background
)
ColorSubstring
(
index
,
foreground
)
ColorSubstring
(
index
,
length
,
foreground
)
ColorSubstring
(
index
,
foreground
,
background
)
ColorSubstring
(
index
,
length
,
foreground
,
background
)
ColorSubstringBackground
(
index
,
background
)
ColorSubstringBackground
(
index
,
length
,
background
)
ColorWhereNull
(
foreground
,
background
)
Fmt
(
args
)
Fmt
(
provider
,
args
)
FmtEnumerable
(
args
)
FmtEnumerable
(
provider
,
args
)
Format
(
format
,
args
)
Format
(
format
,
provider
,
args
)
FromEggsNode
(
node
)
GetBackgroundColors
()
GetColors
()
GetEnumerator
()
IndexOf
(
value
)
IndexOf
(
value
)
IndexOf
(
value
,
start
Index
)
IndexOf
(
value
,
start
Index
)
IndexOf
(
value
,
comparison
Type
)
IndexOf
(
value
,
start
Index
,
count
)
IndexOf
(
value
,
start
Index
,
count
)
IndexOf
(
value
,
start
Index
,
comparison
Type
)
IndexOf
(
value
,
start
Index
,
count
,
comparison
Type
)
Insert
(
start
Index
,
value
)
PadLeft
(
total
Width
)
PadLeft
(
total
Width
,
padding
Char
)
PadRight
(
total
Width
)
PadRight
(
total
Width
,
padding
Char
)
Remove
(
start
Index
)
Remove
(
start
Index
,
count
)
Replace
(
old
Char
,
new
Char
)
Replace
(
old
Char
,
new
Char
)
Replace
(
old
Value
,
new
Value
,
comparison
)
ReplaceText
(
old
Value
,
new
Value
,
comparison
)
Split
(
separator
,
count
,
options
)
Substring
(
start
Index
)
Substring
(
start
Index
,
length
)
ToString
()
operator+
(
string1
,
string2
)
operator+
(
string1
,
string2
)
operator+
(
string1
,
string2
)
explicit operator
string
(
input
)
implicit operator
Console
Colored
String
(
input
)
Empty
this
[
index
]
Length
New
Line
To
Debug
String
Console
Util
RT.Util.ExtensionMethods
RT.Util.ExtensionMethods.Obsolete
RT.Util.Geometry
RT.Util.IL
RT.Util.Paths
RT.Util.Streams
RT.Util.Text
RT.Util.Threading
PropellerApi
PuzzleSolvers
RT.ArithmeticCoding
RT.BigInteger
RT.CommandLine
RT.Coordinates
RT.Dijkstra
RT.Generex
RT.Json
RT.Lingo
RT.Lingo.Base
RT.NUnitDirect
RT.PostBuild
RT.SelfService
RT.Serialization
RT.Serialization.Binary
RT.Serialization.Json
RT.Serialization.Xml
RT.Servers
RT.TagSoup
RT.Util
RT.Util.Legacy
Legend
Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field
Method:
ConsoleColoredString
Color
(
char
,
ConsoleColor?
)
Declared in:
RT.Util.Consoles.
ConsoleColoredString
Declaration
public
ConsoleColoredString
Color
(
char
character
,
ConsoleColor?
foreground
)
Summary
Changes the foreground colors (but not the background colors) of every occurrence of
character
in the current string to the specified console color.
Parameters
char
character
The character whose color to replace.
ConsoleColor?
foreground
The foreground color to set the characters to, or
null
to use the console’s default foreground color.
Returns
A new string containing the modified colors.