11
Answers

Working with files - How to choose?

Ask a question

Newcomer to C# here.

I am learning C# by myself with no previous experience other than Basic (yes the old one) and Assembler for micros, so bear with me, please.

Working with files (binary and text) offer so many options / variants that I find them somewhat overwhelming.

I have the feeling that there is not a "one fits all" solution but I would like to avoid wasting time trying to learn every single way, to find later that it was not worth the pain.

What is the criteria to use the different methods / classes?

Honestly, every time I try to revise the subject something new shows up adding to my confusion which increases with someone else saying:"this is the right thing to do!".

Since the initial application I have in mind is supposed to be (binary and text) file-intensive I want this straight from the beginning and I have no so much time available.

Just in case, please keep all referred to Console output/input. I will work out my way for a graphic interface at a later moment.

Help is needed and appreciated. Gracias.

 

 

 


Answers (11)