How can I assign a null date to a variable of the DateTime type?
I have the following code:
DateTime? FechaNula = new DateTime?();
deudaDto.FechaIngreso = deuda.FechaIngreso.HasValue ? deuda.FechaIngreso : FechaNula;
but you mark me error, says that you can not implicitly convert the System.DateTime type? in System.DateTime ....
Greetings and thanks