Welcome, Guest Ohm namah shivoy
www.faqpanel.com
Home | ASP.Net | C-Sharp | Winforms | MS SQL | AJAX | XML | .Net Training*** | Search
Invite friends 
Extras 
VS Tips & Tricks
Top 10 .Net Tools
Special folders in ASP.Net
VS Find Combobox
 ASP.Net Interview Questions and Answers
Can I avoid using the garbage collected heap?
All languages that target the runtime allow you to allocate class objects from the garbage-collected heap. This brings benefits in terms of fast allocation, and avoids the need for programmers to work out when they should explicitly free each object.

The CLR also provides what are called ValueTypes—these are like classes, except that ValueType objects are allocated on the runtime stack (rather than the heap), and therefore reclaimed automatically when your code exits the procedure in which they are defined. This is how "structs" in C# operate.

Managed Extensions to C++ lets you choose where class objects are allocated. If declared as managed Classes, with the __gc keyword, then they are allocated from the garbage-collected heap. If they dont include the __gc keyword, they behave like regular C++ objects, allocated from the C++ heap, and freed explicitly with the "free" method.

What is the "Window Service"?
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
What is the difference between System Exceptions and Application Exceptions?
What is the ExecutionTimeout in ASP.Net?
How to get the count of records in the Database table using the DataSet?
Between Windows Authentication and SQL Server Authentication, which one is trusted and which one is untrusted?
What does CommandBehavior.CloseConnection() parameter of ExecuteReader()?
How to give backcolor to a particular cell in a TABLE CONTROL at runtime in ASP.Net?
Can I avoid using the garbage collected heap?
What is the Code Behind feature of ASP.Net?