Прочетете на английски Редактиране

Споделяне чрез


UInt128.ToString Method

Definition

Overloads

ToString(IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.

ToString(String)

Converts the numeric value of this instance to its equivalent string representation, using the specified format.

ToString(String, IFormatProvider)

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

ToString()

Returns a string that represents the current object.

ToString(IFormatProvider)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.

public string ToString(IFormatProvider? provider);

Parameters

provider
IFormatProvider

An object that supplies culture-specific formatting information.

Returns

The string representation of the value of this instance as specified by provider.

Applies to

.NET 10 и други версии
Продукт Версии
.NET 7, 8, 9, 10

ToString(String)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Converts the numeric value of this instance to its equivalent string representation, using the specified format.

public string ToString(string? format);

Parameters

format
String

The format to use, or a null reference to use the default format defined for the type of the IFormattable implementation.

Returns

The string representation of the value of this instance as specified by format.

Applies to

.NET 10 и други версии
Продукт Версии
.NET 7, 8, 9, 10

ToString(String, IFormatProvider)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

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

public string ToString(string? format, IFormatProvider? provider);

Parameters

format
String

The format to use, or a null reference to use the default format defined for the type of the IFormattable implementation.

provider
IFormatProvider

An object that supplies culture-specific formatting information.

Returns

The value of the current instance in the specified format.

Implements

Applies to

.NET 10 и други версии
Продукт Версии
.NET 7, 8, 9, 10

ToString()

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Returns a string that represents the current object.

public override string ToString();

Returns

A string that represents the current object.

Applies to

.NET 10 и други версии
Продукт Версии
.NET 7, 8, 9, 10