ChooseOneForGrammaticalNumber() private static method

private static ChooseOneForGrammaticalNumber ( int number, Array forms ) : string
number int
forms Array
return string
        // Token: 0x060001D8 RID: 472 RVA: 0x0000AA0C File Offset: 0x00008C0C
        private static void CollectParts(ICollection <string> parts, ref int number, int divisor, GrammaticalGender gender, params string[] forms)
        {
            if (number < divisor)
            {
                return;
            }
            int result = number / divisor;

            number %= divisor;
            UkrainianNumberToWordsConverter.CollectPartsUnderOneThousand(parts, result, gender);
            parts.Add(UkrainianNumberToWordsConverter.ChooseOneForGrammaticalNumber(result, forms));
        }
        // Token: 0x060001D9 RID: 473 RVA: 0x0000AA40 File Offset: 0x00008C40
        private static void CollectOrdinalParts(ICollection <string> parts, ref int number, int divisor, GrammaticalGender gender, string prefixedForm, params string[] forms)
        {
            if (number < divisor)
            {
                return;
            }
            int result = number / divisor;

            number %= divisor;
            if (number != 0)
            {
                UkrainianNumberToWordsConverter.CollectPartsUnderOneThousand(parts, result, gender);
                parts.Add(UkrainianNumberToWordsConverter.ChooseOneForGrammaticalNumber(result, forms));
                return;
            }
            if (result == 1)
            {
                parts.Add(prefixedForm);
                return;
            }
            parts.Add(UkrainianNumberToWordsConverter.GetPrefix(result) + prefixedForm);
        }