daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DateTime UpdatedTime = (DateTime)_objHotelPackageOrder.UpdatedDate == null
  2.     ? DateTime.Now : _objHotelPackageOrder.UpdatedDate;
  3.    
  4. DateTime UpdatedTime = _objHotelPackageOrder.UpdatedDate ?? DateTime.Now;
  5.    
  6. DateTime updatedTime = _objHotelPackageOrder.UpdatedDate.GetValueOrDefault(DateTime.Now);
  7.    
  8. DateTime UpdatedTime = _objHotelPackageOrder.UpdatedDate ?? DateTime.Now;
  9.    
  10. DateTime UpdatedTime = (DateTime)_objHotelPackageOrder.UpdatedDate == null ? DateTime.Now : _objHotelPackageOrder.UpdatedDate.Value;
  11.    
  12. DateTime UpdatedTime = _objHotelPackageOrder.UpdatedDate.HasValue
  13.                           ? _objHotelPackageOrder.UpdatedDate.Value
  14.                           : DateTime.Now;
  15.    
  16. DateTime UpdatedTime = _objHotelPackageOrder.UpdatedDate ?? DateTime.Now;
  17.    
  18. DateTime UpdatedTime = _objHotelPackageOrder.UpdatedDate.HasValue ? _objHotelPackageOrder.UpdatedDate.value : DateTime.Now;
  19.    
  20. DateTime dtValue = (DateTime) dtNullAbleSource;
  21.    
  22. memDateLogin = m.memDateLogin ?? DateTime.MinValue
  23.    
  24. DateTime UpdatedTime = _objHotelPackageOrder.UpdatedDate.HasValue
  25.     ? DateTime.Now : _objHotelPackageOrder.UpdatedDate.Value;
  26.    
  27. DateTime UpdatedTime = _objHotelPackageOrder.UpdatedDate == null
  28.     ? DateTime.Now : (DateTime)_objHotelPackageOrder.UpdatedDate;
  29.    
  30. DateTime UpdatedTime = (DateTime)_objHotelPackageOrder.UpdatedDate == null ? DateTime.Now : _objHotelPackageOrder.UpdatedDate.Value;
  31.    
  32. DateTime UpdatedTime = _objHotelPackageOrder.HasValue ? _objHotelPackageOrder.UpdatedDate.Value : DateTime.Now;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top