Skip to content

M_CodeJam_Ranges_RangeIntersection_1_ToString_3

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

RangeIntersection(T).ToString Method (String, IFormatProvider)

Returns string representation of the range using the specified format string. If T does not implement the format string is ignored.

Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public string ToString(
	string format,
	IFormatProvider formatProvider
)

VB

Public Function ToString ( 
	format As String,
	formatProvider As IFormatProvider
) As String

F#

abstract ToString : 
        format : string * 
        formatProvider : IFormatProvider -> string 
override ToString : 
        format : string * 
        formatProvider : IFormatProvider -> string 

Parameters

 

format
Type: System.String
The format string.
formatProvider
Type: System.IFormatProvider
The format provider.

Return Value

Type: String
The string representation of the range.

Implements

IFormattable.ToString(String, IFormatProvider)

See Also

Reference

RangeIntersection(T) Structure
ToString Overload
CodeJam.Ranges Namespace
System.IFormattable

Clone this wiki locally