How can we main a Class as base class,i.e not inherited
further?{please Dont tell using Sealed class,any other way}

Answer Posted / saurabh hoonka

use Private access modifier

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of extention?

474


How do you declare an interface in c#?

475


What is float in unity?

494


How do you prevent a class from being inherited in c#?

441


Explain About .NET Framework

519






What is the base class in .net from which all the classes are derived from?

490


What is dynamic in c#?

461


How long can a string be c#?

500


What is wpf c#?

481


What is type class in c#?

483


What are the drawbacks of extending an interface as opposed to extending a class?

461


What are the 2 types of data types available in c#?

486


What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?

504


What is dll in c#?

494


What is the implicit name of the parameter that gets passed into the set method/property of a class?

488