readfile - Reading parameters from External file - C# -


I am writing an application using C # and I would like to read some parameters from an external file, such as a text File parameter will be saved in the file as

  parA = 5 parB = hello etc.  

Can you please explain how I can do this Am this

I know what you did not specifically ask, but if you have an option then I XML App Config

There are so many resources on this, but here's a fairly straightforward example:


Comments