Virtual Image Printer DriverMiraplacid Publisher converts documents to images
Virtual Text Printer DriverMiraplacid Text Driver extracts text from documents
PostScript Printer DriverMiraplacid PostScript Driver prints documents with your content inserted
Miraplacid Binary and Text DOM SDKMiraplacid Binary and Text DOM SDK - access to internal structure of a binary and text files
Common:   Login | Rules of forum | Register
Management:  New topic | Close topic | Move topic | Delete topic

Miraplacid Forum >> Software Development >> Memory Managment and Exception HandlingModerator:XMan

Author Topic:  Memory Managment and Exception Handling

posted 2008-02-07 12:01:50 Reply -Delete

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++?

Your message:
Name, password:
Go to category:  

Technical Support

Copyright © Miraplacid, 2003 - 2024