ContinueWith1 Async & Sync 비동기 프로그래밍 Async & Sync 비동기 프로그래밍 using System; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace AsyncAwait { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { // case 1 //label1.Text = BigLongImportantMethod("John"); // case 2 : Task //Task.Factory.StartNew(() => BigLongImportant.. 2022. 6. 22. 이전 1 다음