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 / arun

using final keyword....i am not sure whether this works in
c# or not...

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the return types in c#?

497


Can you specify nested classes as partial classes?

516


How does dll hell solve in .net?

490


Name the control which cannot be placed in mdi?

500


Describe an abstract class?

560






What is datacontract in c#?

489


How many constructor can a class have?

476


Are constructors inherited c#?

516


What is hashtable in c# with example?

500


What is a collection class in c#?

483


What is the difference between do and while loop?

449


What are the different types of assemblies available and their purpose?

511


what is the syntax to inherit from a class in c#?

547


What's the difference between System.String and System..StringBuilder in C#?

506


Is learning c# hard?

511