Thursday, 7 July 2016

What are pointer types in C#?

Pointer type variables store the memory address of another type. Pointers in C# have the same capabilities as the pointers in C or C++.
Syntax for declaring a pointer type is −
type* identifier;
For example
char* cptr;
int* iptr;

No comments:

Post a Comment