© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•5w ago•
4 replies
Fat Lenny

Question about how methods of object instances are stored

beginner
i learned about how lambdas capture variables earlier and found that i genuinely have no idea why something like this works. if i assign the method of the testclass containing herbert to fun, does it create a new version of the method that automatically uses cl as the target or is there some other mechanism that makes it automatically pass the reference in cl to it?
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

A (hopefully) basic question about singleton instances
C#CC# / help
2y ago
method are not stored in object but can be called from object?
C#CC# / help
12mo ago
Quick question: How are LINQ methods added to an array?
C#CC# / help
4y ago
❔ ✅ using multiple methods to object
C#CC# / help
4y ago