MrProgrammer_78 wrote:
where T : struct
You would want to look into generics for an explanation to this.
This basically means we are constraining the parameter to be a
struct
.
For more information, see
here.
MrProgrammer_78 wrote:
What is the meaning of: ( ? ) Question mark
This is a nullable type. This indicates the
averagePriceInRange
value can be either a decimal or null.