What does the explicit keyword mean?
Answer:
Prefixing the explicit keyword to the constructor prevents the compiler from using that constructor for implicit conversions.
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Answer:
Prefixing the explicit keyword to the constructor prevents the compiler from using that constructor for implicit conversions.
need an explanation for this answer? contact us directly to get an explanation for this answer