Q
You are working on a Dynamics 365 s application. You need to extend a base class method but the method has a default parameter.
You need to wrap the method in an extension class without causing any errors.
You need to determine how to declare the wrapper method.
How should you do this?
Question Info
Choose the Best Option
Click any option to instantly check if you're correct.
Explanation
When wrapping methods that have default parameters in extension classes, the method signature in the wrapper method must not include the default value of the parameter. Including the default value, omitting the parameter, or using a different default value would cause errors.
Want to remember what you got wrong?
Create a free account in seconds to track your score, revisit mistakes and continue X++ Programming Language where you left off.
- Save your progress & streak
- Topic-wise quizzes & scores
- Bookmark tricky questions
- Printable MCQ sets
Nice — 3 questions done!
Don't lose this streak. Sign up free to save your score and pick up exactly where you stopped.
Share This Question
Challenge a friend or share with your study group.