Hi,
Code:
Console.WriteLine("Please Enter your username :");
int Counter = 0;
s = Console.ReadLine();
Counter = Counter + 1;
sw.WriteLine(Counter + " " + s);
sw.Write(sw.NewLine);
1. Where to put while condition so it can read file and increment the counter?
2. When every time i enter one name it comes out of getusername function and display the menu options again. How to prevent that?
Regards,