Skip to content

UInt24.ToString Method ​

Overloads ​

NameDescription
ToString()Returns a string that represents the current object.
ToString(String, IFormatProvider)Formats the value of the current instance using the specified format.

ToString() ​

Returns a string that represents the current object.

c#
public override string ToString();

View source

Returns ​

String

A string that represents the current object.

ToString(String, IFormatProvider) ​

Formats the value of the current instance using the specified format.

c#
public new string ToString(string? format, IFormatProvider? formatProvider);

View source

Parameters ​

NameTypeDescription
formatStringThe format to use. -or- A null reference (Nothing in Visual Basic) to use the default format defined for the type of the IFormattable implementation.
formatProviderIFormatProviderThe provider to use to format the value. -or- A null reference (Nothing in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.

Returns ​

String

The value of the current instance in the specified format.