using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

namespace ConsoleApplication1

{

    class Program

    {

        static void Main(string[] args)

        {

            for (int a = 2; a < 10; a++)

            {

                for (int b = 1; b < 10; b++)

                {

                    Console.WriteLine("{0} * (1} = {2}", a, b, a * b);

                }

            }

        }

    }

}



for문 이용해서 구구단 출력하는 예제인데


이게 존나 웃긴게 내가 직접치면


처리되지 않은 'System.FormatException' 형식의 예외가 mscorlib.dll에서 발생했습니다.


추가 정보: 입력 문자열의 형식이 잘못되었습니다.


라는 에러가 뜸


근데 강좌에 있는 예제 그대로 복사해서 붙여넣으면 실행됨


뭐 잘못쳣나 싶어서 두개 비교해봐도 완전똑같음


이거 뭐때문에 그러는거냐?