What is the difference between these statements
obj=null and obj.dispose()
Answer Posted / pushparaj pentakota
obj=null is remove the reference to object only but that
object will be existed but obj.dispose() is clear the
reference and as well as clear the object also from the
memory.so obj.dispose() is best to use but in some cases not.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between user control and custom control. Also, explain their use.
How to declares a two-dimensional array in C#?
What is the difference between array and arraylist in c#?
What is event and delegates in c#?
What is code verification?
Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?
What is the use of static in c#?
What are the boolean data types in c#?
What is the default value of decimal in c#?
What is difference between c sharp and c#?
Define thread? Explain about multithreading?
Which debugging tools you can use in the .NET ssSDK?
What does || mean in programming?
What is managed code?
who is a protected class-level variable available to?