EnumTEnumToString(TEnum, String) Method

Returns the String representation of the given enum value specified in the value parameter.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public static string ToString(
	TEnum value,
	string? separator
)

Parameters

value  TEnum
A TEnum value that has to be converted to String.
separator  String
Separator in case of flags formatting. If or is empty, then comma-space (, ) separator is used.

Return Value

String
The string representation of value.

See Also