-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Strings_StringExtensions_ToInvariantString__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
6 revisions
Culture invariant version of ToString(String, IFormatProvider)
Namespace: CodeJam.Strings
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static string ToInvariantString<T>(
this T s
)
where T : IFormattable
VB
<ExtensionAttribute>
Public Shared Function ToInvariantString(Of T As IFormattable) (
s As T
) As String
F#
[<ExtensionAttribute>]
static member ToInvariantString :
s : 'T -> string when 'T : IFormattable
- s
- Type: T
Object to convert.
- T
- [Missing documentation for "M:CodeJam.Strings.StringExtensions.ToInvariantString
1(
0)"]
Type: String
String representation of s according to rules of invariant culture.
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
StringExtensions Class
ToInvariantString Overload
CodeJam.Strings Namespace