System.Xml.Xsl.Runtime.XsltFunctions.PrintYear C# (CSharp) Метод

PrintYear() приватный статический Метод

private static PrintYear ( char text, int value ) : void
text char
value int
Результат void
        private static void PrintYear(char[] text, int value)
        {
            text[0] = (char)((value / 1000) % 10 + '0');
            text[1] = (char)((value / 100) % 10 + '0');
            text[2] = (char)((value / 10) % 10 + '0');
            text[3] = (char)((value / 1) % 10 + '0');
        }