ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • C#
    스트림 IO/텍스트 프로세싱 2011. 7. 26. 00:37
    System.Console // static?
    .WriteLine() // static
    .Write() // static
    .ReadLine() // static
    .Read() // static

        static int ReadInt()
        {
            char ch;
            int n = 0;

            while (!char.IsDigit(ch = (char)Console.Read())) ;

            do
            {
                n = n * 10 + (ch - '0');
                ch = (char)Console.Read();
            } while (char.IsDigit(ch));

            return n;
        }

    System.IFormattable

    string ToString(string format, IFormatProvider formatProvider);


Designed by Tistory.