There is no pointer concept in Java int i = 5; int p; p = i; p = 10; System.out.print(i);//5
Using pointer in C# is not safe. unsafe { int i = 5; int *p; p = &i; *p = 10; System.Console.Write(i);//10 }