Home » questions » I want to execute statement (if condition) which store in one file in c#?

I want to execute statement (if condition) which store in one file in c#?

2006-08-08 06:30:04, Category: Programming & Design
i have file called hi.txt IN which data is like i = x + y ; and in my programm I declare varialble i , x ,y Help me . it difficult to explain here I am online

Answers

  1. Railgun

    On 2006-08-08 06:48:53


    1) open file 2) iterate through each line in the file 3) read each line into a string 4) parse each string into your three variables 5) close file Consult any C# book or Microsoft's MSDN.
  2. gansatanswers

    On 2006-08-08 06:34:17


    dei kedi, refer a c# book