How can you prevent classes to be inherited?

Answer Posted / nagesh rajarapu

by using sealed keyword before the class name

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is datetime nullable c#?

506


What is threading in c# with example?

456


What is the differences between datagrid, datalist and repeater in .net?

481


Write a syntax for writing a event delegate.

497


What is the use of ienumerable in c#?

551






Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.

3802


How to assign Null value to Var?

547


What is difference between assembly and dll?

479


I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?

552


What is an extension method in c#?

505


Is linkedhashset synchronized?

572


hi, is compulsory .net knowledge need for biztalk server training. if need, how far?.tell me some info abt real time instructors in hyd or other?

1059


What is difference between dictionary and hashtable in c#?

435


What is dataset c#?

496


What are the fundamental oop concepts?

530