Method ToString
ToString()
Returns a string representation of the int2.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | String representation of the value. |
ToString(String, IFormatProvider)
Returns a string representation of the int2 using a specified format and culture-specific format information.
Declaration
public string ToString(string format, IFormatProvider formatProvider)
Parameters
Type | Name | Description |
---|---|---|
String | format | Format string to use during string formatting. |
IFormatProvider | formatProvider | Format provider to use during string formatting. |
Returns
Type | Description |
---|---|
String | String representation of the value. |