Hi there,
I'm trying to create a banking application in C# that is menu driven. But I cant seem to get it right. So far I have declared all the variables I deemed necessary. Though, When I try to read them in the main, an error occurs. Also so far I have made switch statement in the main for my menu. I try to run the program but it just displays the "press any key to continue..." message. Please help, this would really improve my understanding of how c# works.
Kind regards
Martha

Anubhav BhatnagarRank #7,080 · 249 reputationPosted Apr 18, 2014, 7:02 PM EDT
Nitesh KejriwalRank #253 · 9.9K reputationPosted Apr 18, 2014, 9:51 PM EDT
Munesh SharmaRank #174 · 13.9K reputationPosted Apr 19, 2014, 11:33 AM EDT
Martha Inkono7 reputationPosted Apr 20, 2014, 10:32 AM EDT
Martha Inkono7 reputationPosted Apr 20, 2014, 10:34 AM EDT
Martha Inkono7 reputationPosted Apr 20, 2014, 10:36 AM EDT
AshishRank #8,652 · 218 reputationPosted Apr 21, 2014, 5:50 AM EDT
your mistake is this, you have made read method in person class. but you are calling it from the account class instance in case 1.
mark it if you accept this answer