
How to C#
How to Write / Read Files in C#
Simple example: text
Among many, a super short way to write or read files in C# is to use the static methods from the File class.
Write
As an oversimplification, we can say that files are a bunch of bytes written on the disk, so to write information we need to convert it to bytes and flush them into…