반응형 c#3 ObjectDumper Class // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Reflection; public class ObjectDumper { public static void Write(object o) { Write(o, 0); } public static void Write(object o, int depth) { Write(o, depth, Console.Out); } public static void Write(object o, int depth, TextWriter log).. 2017. 9. 23. RSS Feed를 가져오는 C# 예제를 통한 Async 효율성 테스트 RSS Feed를 가져오는 C# 예제를 통한 Async 효율성 테스트 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Cache; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace FeedReader { class Program { static void Main(string[] args) { var feedUrls = new List() { "http://www.engadget.com/rss.xml", //"http://www.wi.. 2017. 4. 11. BackgroundWorker C# Thread 처리 참고 자료 http://www.albahari.com/threading/part3.aspx http://msdn.microsoft.com/ko-kr/library/System.ComponentModel.BackgroundWorker.aspx _bw = new BackgroundWorker(); _bw.WorkerReportsProgress = true; _bw.WorkerSupportsCancellation = true; //이벤트 등록 _bw.DoWork += _bw_DoWork; _bw.ProgressChanged += _bw_ProgressChanged; _bw.RunWorkerCompleted += _bw_RunWorkerCompleted; void _bw_RunWorker.. 2013. 8. 1. 이전 1 다음 반응형