i'm new to c#, i was given an assignment to use txt file as database for c#. example: this is the content of product.txt
product_name;price;stock;
cappucino;3500;12;
vanilla_milk;5000;12;
orange_juice;4500;10;
mineral_water;2000;15;
and i want to use that product.txt to display it on my c# console program
Console.WriteLine("What Coffee would you like to buy? ");
//display the cappucino product name and price from product.txt
also i want to edit the stock from product.txt when product is purchased
is it possible, how to do it?
found it, sorry for my stupid question. i just don't know the keyword, that is streamwriter