© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
4y ago
•
113 replies
Omar
any benefit to async?
What
's the benefit of async code
? I see lots of examples that
await
await
on all the async calls
. A prominent example at hand is the
XmlReader
XmlReader
example here
:
https://learn.microsoft.com/en-us/dotnet/api/system.xml.xmlreader?redirectedfrom=MSDN&view=net-6.0
Since every call to ReadAsyc
(
) is going to block on await
, then what
's the point of using async reads
?
XmlReader Class (System.Xml)
Represents a reader that provides fast
, noncached
, forward
-only access to XML data
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Next page
Similar Threads
✅ Is there any benefit to separating your service models and repository entities?
C
C# / help
8mo ago
Is there any benefit to write a Property with a private variable ?
C
C# / help
4y ago
❔ Benefit of ref structs
C
C# / help
3y ago
Canvas: Any benefit to "reusing" shapes vs. Canvas.Clear() and creating new shapes every render?
C
C# / help
2y ago