Original Post
I'm writing an app in C# for the first time and I'm finding it pretty easy since it is essentially the same as C++. However I have some a question about garbage collection. Say I do something like this... ArrayList arr = new ArrayList(); arr = new ArrayList(); Is there a way to force garbage collection on the original allocation? I'm just skeptical about the whole garbage collection working. I have memory getting newed all over but theres no delete keyword and most classes I find do not inherit from IDisposable.