Answer Posted / sugumar.r
Actually, there are two ways resources can be cleaned up
from our application.( Garbage Collection)
1. Dispose()- By default system will release all non
referenced variables from memeory.
2.Finalize()- We can explicitly perform Cleaning process
using Finalize method(Destructor)
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What are predicates in c#?
What is the difference between int16 and int32 in c#?
What is readline library?
Define a jagged array in c#?
What is the default value of guid in c#?
Explain about accessibility modifier 'protected internal'?
Why main method is static in c#?
Can interface have virtual methods in c#?
What is a partial class in c#?
What is the difference between User controls and Custom Controls?
What is Implementation inheritance and interface inheritance?
What is lazy class in c#?
What exception can an overridden method throw in comparison with the method it is overriding?
Why do we need structs in c#?
Why ref is used in c#?