© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
35 replies
divolo

❔ new to programming and can't figure out

i want to create an appointment scheduler that let's the user create view update and delete but can't figure out how


using System;
using System.Data;

namespace appointment
{
class Program
{
static void Main(string[] args)
{
bool showMenu = true;
while (showMenu)
{
showMenu = Mainmenu();
}
}

private static bool Mainmenu()
{
Console.Clear();
Console.WriteLine("menu");
Console.WriteLine("1 )schedule appointment");
Console.WriteLine("2 )view appointment");
Console.WriteLine("3 )update appointment");
Console.WriteLine("4 )delete appointment");
Console.WriteLine("5 )exit");
Console.Write("\r\nselect an option:");
switch (Console.ReadLine())
{
case "1":

return true;
case "2":

return true;
case "3":

return true;
case "4":

return true;
case "5":

return false;
default:
return true;
}
}
private static void
}

}
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Can't figure out json logic
C#CC# / help
2y ago
✅ Can't figure out display error avalonia
C#CC# / help
2y ago
❔ An Error I can't figure out
C#CC# / help
3y ago
✅ Can't figure out two error messages - Avalonia
C#CC# / help
2y ago