站内搜索: 请输入搜索关键词
当前页面: 图书首页 > NET For Java Developers Migrating To C#

NET For Java Developers Migrating To C#

[ directory ] Previous Section Next Section

8.16 Pointer Type Operators

Pointer type operators are used only in unsafe mode (see Chapter 7). The operators have the following meaning:

  • * operator: This operator is used to define pointer types and dereference pointer types.

  • & operator: This unary operator returns the address of its operand.

  • -> operator: The -> operator combines pointer dereferencing and member access.

  • [] operator: You can use square brackets to index off a pointer.

    [ directory ] Previous Section Next Section