2 ms·
Yes. The "ref" keyword allows taking interior pointers to data members as function arguments [1]. There are also local references [2]. [1]: https://docs.micros
by pcwalton 9y ago
Yes. The "ref" keyword allows taking interior pointers to data members as function arguments [1]. There are also local references [2].
[1]: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/ref#passing-an-argument-by-reference https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...
[2]: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/ref#ref-locals https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...