C# deadlock prevent
Winform project 를 하나 생성 하고 다음과 같은 code 를 작성해 보자 textbox 하나 button 하나 만들고 테스트 해보자 public static async Task GetJsonAsync(Uri uri) { // (real-world code shouldn't use HttpClient in a using block; this is just example code) using (var client = new HttpClient()) { var jsonString = await client.GetStringAsync(uri); return jsonString; } } private void button1_Click(object sender, EventArgs e) { textBox..
2023.06.23