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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Midhun TpPosted Oct 7, 2016, 11:51 PM
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