Can DateTime be null?

preview_player
Показать описание
Can DateTime be null?
Sep 3, 2010

No -- DateTime is a struct in C# and structs (value types) can not be null. No, its a structure not a class. Either make it a nullable type, e.g. System? myValue; or use the System DateTime as a sentinel.

··········

“Be competent, be more skilful than others. Here you will find the answer to all of your questions.”

✋ The purpose of our channel is to create EDUCATIONAL content. That was our intention with this video as well. We would like to give you COMPLETE INFORMATION on the subject, so unfortunately we can also discuss elements that may be hurtful to people.
Рекомендации по теме
Комментарии
Автор

*💡 What's your question? Insert a comment below, for example:*
“QUESTION: What profession doesn’t get enough respect?”

TechWHYS