default
can also improve maintainability with structs, ie if I change
public class MyDto
{
public int Id { get; set; }
}
to
public class MyDto
{
public int? Id { get; set; }
}
then
if (dto.Id == default)
will continue to function just fine.