How can you clean up objects holding resources from within
the code?

Answers were Sorted based on User's Feedback



How can you clean up objects holding resources from within the code?..

Answer / mahesh

By Using the iDisposable method

Is This Answer Correct ?    6 Yes 1 No

How can you clean up objects holding resources from within the code?..

Answer / raju jaiwardhan

you would need to use a constraint to mandate types
implementing the IDisposable interface to call the Dispose
method.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

Explain what is a manifest in .net?

0 Answers  


How many types of design patterns available in .NET?

0 Answers  


How to customize the trace output?

0 Answers  


What is an exe and a dll?

0 Answers  


How to send the Mail in C# using ASP.Net ? And my Answer is as follows ?

3 Answers   Intel,






What is different between webusercontrol and in webcustomcontrol?

0 Answers  


What?s different about a Windows service as compared to a regular application?

1 Answers  


What makes .net core cross platform?

0 Answers  


Which Security Algorithm used to encrypt the data? a) DES b)RC2 c)Triple DES d)All the above

1 Answers   CTS, Value Labs,


Why inheritance is important?

0 Answers  


Is .net a programming language?

0 Answers  


How to debug failed assembly binds?

0 Answers  


Categories