-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Strings_StringExtensions_ToInvariantString__1
andrewvk edited this page Jul 1, 2016
·
6 revisions
Culture invariant version of ToString(String, IFormatProvider)
Namespace: CodeJam.Strings
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.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
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