+ 1

Menu Driven Program in C#

Can anyone help me to create a console program in C# on simple stock adding,stock displaying,stock selling and displaying the bill of the stock sold.

24th Oct 2017, 11:50 AM
Ramees Rahman
Ramees Rahman - avatar
2 Réponses
+ 1
to break the loop use the 'break' keyword
29th Oct 2017, 6:25 PM
Léon Gierschner
Léon Gierschner - avatar
+ 1
where's the problem? i would just create a class with price, title, custom text etc. put that in a queue or any other type of list. in a console program i would take a while(true) loop and asking for more data while giving the user the option to finish the process then i would iterate (dequeue) through the list and print all data
29th Oct 2017, 6:24 PM
Léon Gierschner
Léon Gierschner - avatar