0

Is it available in c# to use pointers like c++?

use pointers with *

21st Mar 2017, 11:03 AM
MohammadAmin Salarkia
MohammadAmin Salarkia - avatar
2 Answers
+ 1
you can use pointers in c# but the syntax is different from c++. in c# the * is behind the data type e.g int* or char*. for more information, you can read here https://msdn.microsoft.com/en-us/library/y31yhkeb.aspx
21st Mar 2017, 11:36 AM
gjh4cker
gjh4cker - avatar
0
@gjh4cker thank you!
21st Mar 2017, 11:56 AM
MohammadAmin Salarkia
MohammadAmin Salarkia - avatar