bool isUserLoggedIn = true; if (isUserLoggedIn) { Console.WriteLine("Welcome back!"); } else { Console.WriteLine("Please log in."); }