ReadToEndAsync
ReadToEndAsync is an asynchronous method defined on the TextReader class and implemented by derived classes such as StreamReader. It reads all characters from the current position to the end of the underlying stream and returns them as a string, performing I/O without blocking the calling thread when awaited.
Signature and behavior: public override Task<string> ReadToEndAsync() is the typical form found on StreamReader and similar
Usage considerations: Use ReadToEndAsync within asynchronous methods, for example by awaiting the call to obtain the
Comparison and alternatives: ReadToEndAsync is the asynchronous counterpart to ReadToEnd. It does not take a cancellation