I just made a Swap routine in C# like this:
static void Swap(ref int x, ref int y) { int temp = x; x = y; y = temp; }
It does t
Reference parameters in C# can be used to replace one use of pointers, yes. But not all.
Another common use for pointers is as a means for iterating over an array. Out/ref parameters can not do that, so no, they are not "the same as pointers".