This is a C# port of Blake Embrey's pluralize library which helps in pluralizing or singularizing any English word.
I could not find a good C# alternative for converting words from singular to plural and vice versa. System.Data.Entity.Design.PluralizationServices.PluralizationService and Humanizer library did not meet the expectations (try 'shoes' or 'toes'). However this small but awesome Javascript libray pluralize worked very well for me and I decided to convert the code to C# and use it.
I forked and port this to .net standard because I needed it now. I give respect to the original project and the person that ported this to C# (sarathkcm)
Install from NuGet
Install-Package Pluralize.NET.Core
Include using directive
using Pluralize.NET.Core
Write code
var singular = new Pluralizer().Singularize("Horses");
var plural = new Pluralizer().Pluralize("Horse");
Profit!
MIT - because the original project is MIT