|
INTERVIEW QUESTIONS
MICROSOFT
MICROSOFT.NET 2.0
DETAILS
Question: In .NET Compact Framework, can I free memory explicitly without waiting for garbage collector to free the memory?
Answer: NET Compact Framework come with CLR which perform automatic
garbage collector to free the memory without using destector(perform
garbage collector when is declear)
|
|
|
Category |
Microsoft.NET 2.0 Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7067 users |
Added on |
7/27/2011 |
Views |
72303 |
Rate it! |
|
|
Question:
In .NET Compact Framework, can I free memory explicitly without waiting for garbage collector to free the memory?
Answer:
NET Compact Framework come with CLR which perform automatic
garbage collector to free the memory without using destector(perform
garbage collector when is declear)
Source: CoolInterview.com
A better answer would be: it is not recommended when using managed code (VB, VC#, or managed VC++), as one object's dependencies on another might not be properly handled. For unsafe VC#, or unmanaged VC++, you **must** deallocate memory you dynamically allocate, as you are not in the CLR. Source: CoolInterview.com
Answered by: John Kocur Jr. | Date: 4/15/2008
| Contact John Kocur Jr.
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is the diff b/w asp.net & vb.net and tell about its architecture.
|
View Answer
|
|
A developer company sends dll's to the client. some client is not happy current functionality, so request some modification. developer made some changes and send new dll to all clients. Some client is happy with old version, tell me minimal change to so that neither clients get affected.
|
View Answer
|
|
How i prepare parameterized(with more than one parameters) crystal report.pls tell me the code prodecure,if any body can.
|
View Answer
|
|
What is marshling
|
View Answer
|
|
How can create multiple inheritence inc#, with example?
|
View Answer
|
|
What is the reason of occuring overflow-underflow arithmatic exception error, it shows error message when we run our program by adding control
|
View Answer
|
|
Can 2 different applications use the same dll in GAC at the same time?
|
View Answer
|
|
What is the procedure to add assemly to GAC to make it shared one?
|
View Answer
|
|
How different are interface and abstract class in .Net?
|
View Answer
|
|
What rare the Types of JIT and what is econo-JIT
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Microsoft.NET 2.0 Interview Questions & Answers - Exam Mode /
Learning Mode
|