오버플로우 썸네일형 리스트형 unchecked 키워드 unchecked 키워드는 int 연산과 변환에서 오버플로우를 체크해줍니다. 이 키워드는 아래처럼 사용할수 있습니다. unchecked (expression) 예제 1 ) // statements_unchecked.cs // Using the unchecked statement with constant expressions // Overflow is checked at compile time using System; class TestClass { const int x = 2147483647; // Max int const int y = 2; public int MethodUnCh() { // Unchecked statement: unchecked { int z = x * y; return z; // R.. 더보기 이전 1 다음