18a28d6d 3895 0f32 05bc bbe9e28206d3 - akesseler/Plexdata.Utilities.Templates GitHub Wiki
Formats the list of arguments into the format string.
Namespace: Plexdata.Utilities.Formatting
Assembly: Plexdata.Utilities.Templates (in Plexdata.Utilities.Templates.dll) Version: 1.0.0
C#
public static string Format(
string format,
params Object[] arguments
)
- format
- Type: System.String
A string containing formatting instructions, either for index-based formatting, like"{0}, {1}, ..."
, or for template-based formatting, like"{name1}, {name2}, ..."
). - arguments
- Type: System.Object[]
The optional list of arguments to be used.
Type: String
A copy of format with the format elements replaced by the string representation of the corresponding objects in arguments.
This method formats the list of arguments into the format string. This is for sure the simplest way of template formatting.
Template Class
Format Overload
Plexdata.Utilities.Formatting Namespace
Template.Format(IFormatProvider, String, Object[])
Template.Format(IArgumentSerializer, String, Object[])
Template.Format(IFormatProvider, IArgumentSerializer, String, Object[])
Template.Format(Options, String, Object[])