ASP.NET Core docs show unfamiliar usage of the ? operator. What does it mean?

Advertisements The ASP.NET Core minimal API docs show syntax similar to the following: db.Todos.Find(id) is Todo todo ? Results.Ok(todo) : Results.NotFound()); I believe this is a use case of the ? operator which is documented in the main C# docs. However, these docs only show the following format: condition ? consequent : alternative in which… Read More ASP.NET Core docs show unfamiliar usage of the ? operator. What does it mean?