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 / suman k dey

Instead of sealed we can use static class.

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does xpath return?

543


What is a static in c#?

500


Explain the OOPS concept in C#?

585


What is the use of functional interface?

491


How can I check the type of an object at runtime?

542






if a method is marked as protected internal who can access it?

574


What is interface used in c#?

589


What is use of singleton class in c#?

503


Explain async and await?

551


If c# destructors are so different to c++ destructors, why did ms use the same syntax?

504


What is generic in c#?

467


Is it possible to inline assembly or il in c# code?

531


What does do in c#?

550


What does protected internal access modifier mean?

555


What is sealed class in c#?

532