Skip to content

C# Property pattern vs. type pattern #4809

Answered by yaakov-h
deep-outcome asked this question in Q&A
Discussion options

You must be logged in to vote

The IL you've posted doesn't match latest SharpLab, so I suspect it is already out of date.

On SharpLab, both functions produce identical IL patterns in Release configuration.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@deep-outcome
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by deep-outcome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants