예제 #1
0
        public ClassWithTask(ClassWithTask obj)
        {
            System.Diagnostics.Debug.WriteLine("ClassWithTask.ClassWithTask(ClassWithTask obj) starting... (thread ID = {0})", Thread.CurrentThread.ManagedThreadId);

            P1  = obj.P1;
            _p2 = obj.P2;

            System.Diagnostics.Debug.WriteLine("ClassWithTask.ClassWithTask(ClassWithTask obj) finished");
        }
예제 #2
0
파일: main.cs 프로젝트: staherianYMCA/test
        static void Main(string[] args)
        {
            var classWithTask = new ClassWithTask(DateTime.Now);

            System.Diagnostics.Debug.WriteLine(classWithTask);
        }