Can you prevent your class from being inherited and becoming
a base class for some other classes?
Answer Posted / rakesh
We can also make the methods sealed.In that case ,the class
can inherit but the sealed methods in that class cannot
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which language is used for desktop application?
What is a linq in c#?
Give an example to show for hiding base class methods?
How we can create an array with non-default values?
Why do we use threads in c#?
In c#, what will happen if you do not explicitly provide a constructor for a class?
What are satellite assemblies? How will you get the different language strings?
Explain data types in c#?
What are Memory foot print of an exe?
Can we override interface methods in c#?
How do you use nullable?
In which format you can pass the value in the sleep function?
What is null propagation c#?
List down the different ide’s provided by microsoft for c# development.
What does string format do?