26.02.2015 Views

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure :- 6.7 Shared/Static In Action<br />

(B) What is Dispose method in .<strong>NET</strong> ?<br />

.<strong>NET</strong> provides “Finalize” method in which we can clean up our resources.But relying on<br />

this is not always good so the best is to implement “Idisposable” interface and implement<br />

the “Dispose” method where you can put your clean up routines.<br />

(B) Whats the use of “OverRides” and “Overridable”<br />

keywords ?<br />

Overridable is used in parent class to indicate that a method can be overridden.Overrides<br />

is used in the child class to indicate that you are overriding a method<br />

(A) Where are all .<strong>NET</strong> Collection classes located ?<br />

System.Collection namespace has all the collection classes available in .<strong>NET</strong>.<br />

(A) What is ArrayList ?<br />

*Whats difference between procedural and object oriented programming ?<br />

113

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!