I am following tutorials about MVC4 asp.net. The tutorials are using Decimal
like this:
public Decimal x{ set; get; }
public Decimal? y{ set; get; }
what does it mean when using ?
after Decimal
It means that the value type in question is a nullable type
see here
What is the purpose of a question mark after a type (for example: int? myVariable)?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With