How to make sure custom class supports deterministic
finalization?
Answer / sandeep negi
By implementing IDisposable interface! Try to use 'using'
block so that after executing this block its dispose method
will be called automaticaly.
Is This Answer Correct ? | 2 Yes | 0 No |
How do you implement thread synchronization (object.wait, notify,and criticalsection) in c#?
Please explain value types and reference types used in c#?
How to handle exceptions that are raised in a component?
What is the purpose of dictionary in c#?
Is c# a strongly-typed language?
What type of data type conversion happens when the compiler encounters the following code?
What can you do as a .net developer?
What is object pool in .net?
An abstract class is inherited, an Interface also inherited(multiple inheritance), How it differences.
Howmany five tracing levels in System.Diagnostics.TraceSwitcher? Why they are using?
public void A() { int x; x = 8; x *= 4 + 8 / 2; } Given the above code, what is the value of "x"?
what is boxing and unboxing?can we initialize unboxing directly?