what does mean the question mark in this instruction?
- public Decimal? CurrentPrice { get; set; }
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Midhun TpRank #388 · 6.5K reputationPosted Oct 7, 2016, 7:51 PM EDT
It means that the value type decimal is nullable type.
Please go through below links for details-
http://stackoverflow.com/questions/11364390/differences-between-get-set-with-question-mark-and-without
https://msdn.microsoft.com/en-us/library/1t3y8s4s(v=vs.100).aspx