Format(string, params object[])
Formats a string with the default IFormatProvider.
Declaration
[Obsolete("Pass the IFormatProvider. This helps the analyzers.")]
string Format(string format, params object[] arguments)
Parameters
Type | Name | Description |
---|---|---|
string | format | The formatting string. |
object[] | arguments | Arguments. |
Returns
Type | Description |
---|---|
string | The formatted string where parameters in |
Format(IFormatProvider, string, params object[])
Formats a string and specifies the IFormatProvider.
Declaration
string Format(IFormatProvider provider, string format, params object[] arguments)
Parameters
Type | Name | Description |
---|---|---|
IFormatProvider | provider | An IFormatProvider. |
string | format | The formatting string. |
object[] | arguments | Arguments. |
Returns
Type | Description |
---|---|
string | The formatted string where parameters in |