© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
G. ByrneTarget C#https://doi.org/10.1007/978-1-4842-8619-7_16

16. File Handling

Gerard Byrne1  
(1)
Belfast, Ireland
 

File Handling

In the previous chapter, we gained knowledge of string handling and used many of the methods that belong to the String class. We saw some of the new features introduced in C# 10 that related to string handling , and now we will look at another important topic, file handling. File handling is an important skill since there are many uses for it in the commercial environment.

We learned throughout all the previous chapters about the core constructs of a C# program, and we have seen how to write data to an array . We also read that an ...

Get Target C#: Simple Hands-On Programming with Visual Studio 2022 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.