What files can .NET I/O read?

I’ve been testing out the .NET I/O class, and I’ve been able to read a txt file and xml file through unity, but what’s the limit as to what I can read? Does “character encoding” have something to do with it? And lastly, can I read files other than text files? Such as a .png?

You can open and load any data file you have permissions to with System.IO.

But System.IO for the most part knows nothing about format, so what you will get is the raw bytes. If you want to, say, load and use a PNG, you need png loader code that will read those bytes and create an image from them.