Objective 4.1: Perform I/O operations

Working with files is a common task when building an application. Sometimes you have to create a file to store data or to parse a file and extract some content from it. Maybe you are writing plain text or binary data—this is where a Stream object can be used. Maybe you are using streams to send bytes over the network to another application. The .NET Framework also offers support for those scenarios.

Another important topic when it comes to dealing with input/output (I/O) is performance. The new async keyword in C# can be used to easily implement asynchronous operations that can improve usability and scalability of your application.

Get Exam Ref 70-483: Programming in C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.