❔ How do I get one line from my streamwriter to do other stuff
Hi guys, im still quite new to C# and need some help with my streamwriter as I need to get the bank account to display the bank balance and able to withdraw and deposit but ive been told to use modularitys and im very confused here is my code:
11 Replies
u dont get from streamwriter, u write
$details
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, and what you expect the result to be. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
need to write it to a data file and then read it back eventually and this is the only thing i imagine
use StreamReader to read data from the file
File.WriteAllText()
and File.ReadAllText()
will be very helpful for a beginneror that
aight ok cheers guys
i recommend you store data into a database, or a local database file like SQLite
its all going into a text file just for the work
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.