If the txtPrice control contains the value 75, what value will the variable=Decimal.TryParse (txtPrice.Text,decPrice) method return?

FALSE
TRUE
75
75

The correct answer is B. True.

The Decimal.TryParse method returns a Boolean value indicating whether the string was successfully parsed. If the string was successfully parsed, the method returns true. If the string could not be parsed, the method returns false.

In this case, the string “75” is a valid decimal number. Therefore, the Decimal.TryParse method will return true.

The other options are incorrect because they are not Boolean values.