Answers for "how to cast a nullable datetime to datetime in c#"

C#
0

c# convert to nullable datetime

DateTime? lastPostDate =  (DateTime?)(reader.IsDbNull(3) ? null : reader[3]);
Posted by: Guest on May-15-2020

C# Answers by Framework

Browse Popular Code Answers by Language