aronmatthew
Well-known member
- Joined
- Aug 5, 2019
- Messages
- 46
- Programming Experience
- Beginner
Hello I'm trying to understand exactly how the ref keyword works. From my experiments it seems that to modify any type of object that is passed to a method requires the ref keyword. But for reference types modifying field or property works without ref. But ref is required to set the object to null.
Last edited: