Dankh917
✅ Improving my etiquette writing C#
Hello I'm trying to improve my etiquette in writing C# , my question is about validation logic, how popular is it to write a class using C# auto implemented properties and than after to make a class who validates the previous class, is this a common practice ?
What are other common practices concerning this topic ?
Thanks in advance
8 replies
✅ Q about the "?" symbol when declaring vars
Hello everybody ,I have seen some c# vidoes where people declare variables with "?", for example "int?","bool?" , I have asked copilot what does it mean and he said that its just "normal variables" but they are special in that they can also store Null .
my question is : how accurate is his answer and in what case/context will I use :"type?" instead of "type"
thanks
14 replies