[C#] this constructor


[C#] this constructor

this 생성자에 대해서 이야기 하겠습니다. 일단 예시를 보여드릴게요. Colored By Color Scripter 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace this_construct_test { class Program { static void Main(string[] args) { Test t = new Test(1, 2, 3); } } class Test { public Test() { Console.WriteLine("Test()"); } public Test(int a)...


#IT·컴퓨터

원문링크 : [C#] this constructor