I wonder about Memory Managment and Exception Handling in C#.
I know that C# has its own “garbage collection” to prevent memory leaks. How does this work and how does someone code accordingly for this? I see that there is still the “new” statement in C# that C++ has for allocating memory for a new object or pointer. Does the “garbage collection” mean that you do not have to have a corresponding “delete” for every “new” statement?
Do you still have to account for exception handling in C#? Do you still need the “try…catch… throw” blocks? Are them implimented the same way as in C++?