New course! Every coder should learn Generative AI!
Try a free lesson+ 1
In c# you don't need pointers.
If you create a object, you'll get a object reference.
That is all you need.
With objects like List and Dictonairy you are much more flexible and do not need to worry about leaks and boundaries.
SampleClass history = new SampleClass();
history is your object reference.
Using history you can reach all data that is stored in the object.