Ejemplo n.º 1
0
        public static string ToOrdinalNumber(this int number)
        {
            OrdinalConverter ordinalConverter = new OrdinalConverter();

            return(ordinalConverter.ToOrdinalNumber(number));
        }
Ejemplo n.º 2
0
        public static string ToOrdinalNumber(this int number, Gender gender, CultureInfo cultureInfo)
        {
            OrdinalConverter ordinalConverter = new OrdinalConverter(cultureInfo);

            return(ordinalConverter.ToOrdinalNumber(number, gender));
        }