I want to be able to type something like:
Console.WriteLine(\"You have {0:life/lives} left.\", player.Lives);
instead of
Consol
I am using this extension method with .NET 4.6
public static string Pluralize(this string @string) { if (string.IsNullOrEmpty(@string)) return string.Empty; var service = new EnglishPluralizationService(); return service.Pluralize(@string); }