
ALT public static class HostEnvironmentExtensions { extension(IHostEnvironment environment) { public bool IsDevelopmentEnvironment { get { ArgumentNullException.ThrowIfNull(environment); return string.Equals(environment.EnvironmentName, Environments.Development, StringComparison.OrdinalIgnoreCase); } } } }

ALT Dilbert comic. Panel 1: The Boss announces, "Our goal is to write bug-free software. I'll pay a ten-dollar bonus for every bug you find and fix". Panel 2: The programmers (Dilbert, Wally, and Alice) react with overwhelming excitement, shouting things like "Yahoo! We're rich!" and "Yes! Yes! Yes!!!". Panel 3: The Boss states, "I hope this drives the right behavior." Wally then exclaims, "I'm gonna write me a new minivan this afternoon!" revealing their intention to deliberately create numerous bugs to profit from the bonus system.






