Can you allow class to be inherited, but prevent the method
from being over-ridden?

Answer Posted / guest

make the method as sealed

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data adapter in c#?

465


What is writeline?

475


What is escape character in c#?

502


Is an array an object c#?

532


hi all.... i need code snippets for store and retrive tiff fromat images in sqlserver....... kindy provide it.......

1384






What is xml serializer?

488


How can you achieve run time polymorphism in C#?

532


What is the difference between structure and class in c#?

465


Why is hashset faster?

483


What is public, private, protected, internal and internal protected?

523


How do I port "synchronized" functions from visual j++ to c#?

480


Why we use methods in c#?

552


What do you mean by thread safe in c#?

463


Structs are largely redundant in c++. Why does c# have them?

741


What is difference between field and property in c#?

441