Thanks Shabbir for this but i got one solution on my own but now as Search functionality works i have something same in switch cases


Code:
String s;
                s = Console.ReadLine();
                
                
                switch (s)
                {
                    case "g":
                        Console.Clear();
                        uname.getUserName();
                        return choices();
                       // break;
if i want to enter "G" it doesnt accept how to do that?