Why doesn’t C# support the return of references?
This question was the subject of my blog on June 23rd 2011. Thanks for the great question! The C# team is considering this for C# 7. See https://github.com/dotnet/roslyn/issues/5233 for details. UPDATE: The feature made it in to C# 7! You are correct; .NET does support methods that return managed references to variables. .NET also supports … Read more