Skip to content
Discussion options

You must be logged in to vote

You can define two types, but hide the difference behind interface. #33899 has real world example of this technique.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jkoritzinsky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Answer questions and provide assistance, not an issue with source code or documentation. area-Interop-coreclr
2 participants
Converted from issue

This discussion was converted from issue #53790 on July 12, 2021 21:10.