-> Operator (C# Reference)
The pointer member access operator
-> combines pointer indirection and member access.
x is a pointer of the type
y is an accessible member of
T, an expression of the form
is equivalent to
-> operator requires unsafe context.
For more information, see How to: access a member with a pointer.
-> operator cannot be overloaded.
C# language specification
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.