https://www.youtube.com/watch?v=-gDdb28VcwQ&list=PLO56HZSjrPTB4NxAsEP8HRk6YKBDLbp7m&index=47
> int number = 1_234;
> number
1234
> string[] colors = {"red", "green", "blue"};
> colors[0]
"red"
> colors[1]
"green"
> colors[2]
"blue"
> colors[3]
System.IndexOutOfRangeException
> Array.Sort(colors) // abc..., 가나다... 순으로 정렬
> foreach(string color in colors)
. {
. Console.WriteLine(color);
. }
blue
green
red
> Array.Reverse(colors) // 역순
> foreach(string color in colors)
. {
. Console.WriteLine(color);
. }
red
green
blue
> using System.Collections;
> ArrayList list = new ArrayList();
> list.Add(100);
> list.Add(100);
> list.RemoveAt(1);
> list.Add(200);
> list[0]
100
> list[1]
200
> list.Insert(0, 50);
> list
ArrayList(3) { 50, 100, 200 }
> using System.Collections;
> Hashtable hashtable = new Hashtable();
> hashtable[0] = "DotNetKorea";
> hashtable["NickName"] = "RedPlus";
> hashtable[0]
"DotNetKorea"
> hashtable["NicName"]
"RedPlus"