ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • C#
    프로그래밍 언어/제어 구조 2013. 9. 1. 19:57

    int[] ar = { 29, 64, .. };

    int Max = 0;

    foreach (int a in ar) {

    if (Max < a) Max = a;


    }


    string s = "둘";

    switch (s) {

    case "하나": .. break;


    case "둘": .. break;

    ..

    default.. break;


    }


    goto

    for나 while 같은 블록의 안으로 뛰어들 수는 없다


    System.Exception

    System.SystemException -> System.Exception

    <- System.IndexOutOfRangeException

    <- System.FormatException

    System.ApplicationException -> System.Exception


Designed by Tistory.