참고 http://irontooth.tistory.com/68 as 연산자형식 변환 시 사용. [ 변환할 변수 as 변환할 타입 ] 형태로 사용한다. 변수가 타입과 일치하지 않으면 null을 반환한다. (= 변환 불가시 예외발생을 하지 않고 null이 반환된다)as 연산자는 오직 참조 변환과 boxing 변환만을 수행한다. 123456789101112131415161718192021222324252627282930using System;using System.Collections.Generic;using System.Text; namespace study{ class AsAndIs { static void Main(string[] args) { Object[] objArray = new Object[5]..
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960using System;using System.Collections.Generic;using System.Text; namespace study{ class Program { static void Main(string[] args) { string input = ""; int convert; Console.WriteLine("string to int"); Console.Write("정수로 변환할 문자열을 입력하세요 : "); input = Console.ReadLine(); Console.WriteLine("..