GenericExtensionsFormatList Method

Formats a list to "w, x, y and z" or "x and y" or "x" format.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static string FormatList(
	IStringLocalizer loc,
	params string[] items
)

Parameters

loc  IStringLocalizer
Localization tool to localize the word "and"
items  String
Items to format

Return Value

String
Formatted string

See Also