How can you prevent classes to be inherited?

Answer Posted / dhiraj kumar pandey

We can prevent classes to be inherited by using the key
word SEALED.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does protected internal access modifier mean?

549


Tell us something about static linking and dynamic linking?

533


Is cli same as the clr?

520


Is it possible to have different access modifiers on the get/set methods of a property?

519


How to create events for a control? What is custom events? How to create it?

544






What is dataset c#?

496


Which class does the remote object has to inherit?

608


What is ac callback?

505


Why would you use a class property in c#?

508


HOW to Develope the CRUD(create,read,update,delete) FORM IN WINDOWS form by using c# only

527


Why ienumerable is used in c#?

473


What is the meaning of extention?

485


What is different between Static Constructor and Private Constructor?

464


Define using statement in c#?

521


Is for loop faster than foreach?

531