StringExtensions.

FormatInvariant(string, object[]) Method

Summary

Helper function for formatting string with an invariant System.Globalization.CultureInfo.
Namespace
Faker.Extensions
Containing Type
StringExtensions

Syntax

[NotNull]
[Pure]
[StringFormatMethod("format")]
public static string FormatInvariant(this string format, params object[] args)

Attributes

Type Description
NotNull
Pure
StringFormatMethod

Parameters

Name Type Description
format string The format.
args object[] The arguments.

Return Value

Type Description
string The formatted string.
GitHub