dnrkckzk 초보 유니티 개발자 개발하면서 겪는 어려움들을 해결했을 때, 인터넷 돌아다니는 흥미 있는 글 있을 때, 저장하고 공유하기 위한 공간.

카테고리

전체보기 (42)
뇌를 자극하는 C# 5.0프로그래밍 (9)
Unity Tip (30)
C# (1)
Total
Today
Yesterday


1. 코드는 나와있으니 생략하겠다.


queue2 를 int형으로 설정했는데


"한글" 과 3.14.

string과 double형은 못 받는다.


================================================================================



2.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
namespace Ex11_2
{
    class MainApp
    {
        static void Main(string[] args)
        {
            Dictionary</* 1) */> dic = new Dictionary</* 1) */>();
            dic["하나"= "one";
            dic["둘"= "two";
            dic["셋"= "three";
            dic["넷"= "four";
            dic["다섯"= "five";
 
 
            Console.WriteLine(dic["하나"]);
            Console.WriteLine(dic["둘"]);
            Console.WriteLine(dic["셋"]);
            Console.WriteLine(dic["넷"]);
            Console.WriteLine(dic["다섯"]);
        }
    }
}
cs


정답


string, string

Posted by dnrkckzk
, |

최근에 달린 댓글

최근에 받은 트랙백

글 보관함