Guest User

error CS1520: Method must have a return type

a guest
Mar 29th, 2021
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             Console.WriteLine("Would you like to Shutdown Gizmo OS? Yes/No");
  2.             string ans = Console.ReadLine();
  3.             if (ans.ToLower() == "y" || ans.ToLower() == "yes" || ans.ToLower() == "Yes")
  4.             {
  5.                 Sys.Power.Shutdown();
  6.             }
RAW Paste Data