S SearchRSS
< BackHome
Newest questions tagged c# - Stack Overflow

Alternative ways to convert `DateTime?` to `DateTime` in c# [duplicate]

I have a situation where I need to get a DateTime from a SQL query, so to avoid any warnings I get it with a nullable DateTime and then check if it's null or not like this (two ways to show that both don't work): DateTim

View original source