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 is the difference between a function and a method?

678


What do you mean by abstract class in c#?

714


Is c# the same as d flat?

670


Why use a singleton instead of static methods?

626


Explain “static” keyword in c#?

630


Is enum a class c#?

653


What is part of a method signature in c#?

638


What is the concept of strong names?

715


What is the difference between returning iqueryable vs ienumerable?

657


what are implementation inheritance and interface inheritance?

692


What is difference between interface and abstraction?

652


How do I create a .exe file?

684


What is difference between asp net and c# net?

660


Can delegates be used as callbacks?

654


What is the difference between field and property in c#?

669