async/await asynchronous, non-blocking कोड सक्षम करते जो synchronous कोडसारखा वाचायला येतो. हे I/O-bound कामासाठी अत्यावश्यक आहे (डेटाबेस, नेटवर्क, फाइल access) — प्रोग्रामला इतर काम (किंवा requests) हाताळू देते जेव्हा slow operations साठी प्रतीक्षा केली जाते, responsiveness आणि scalability सुधारते.
मूलभूत pattern
{
client = HttpClient();
result = client.GetStringAsync(url);
result;
}
data = GetDataAsync();
