C# : passing in argument with default value? #199
Answered
by
AngusJohnson
philstopford
asked this question in
Q&A
|
This might be code style related, but it does call into question the use of optional arguments if the call sites provide the default argument. Most examples are of the form
where false is the default value of the last argument. |
Answered by
AngusJohnson
Sep 5, 2022
Replies: 1 comment
No, just untidy (redundant) code. |
0 replies
Answer selected by
philstopford
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, just untidy (redundant) code.