How can you prevent classes to be inherited?
Answer Posted / chvramana
Using Keyword Sealed. You can created Sealed class and
You can prevent the class to be inherited.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Write a sample code to write the contents to text file in c#?
What is asax file in c#?
Different between method overriding and method overloading?
What is jit? What are the different types of jit?
What is for loop in c#?
What is a cs file?
Is array ienumerable c#?
What is an assembly in dotnet?
What is protected internal modifier in C#?
What does return do in for loop?
Can you explicitly call a destructor?
What is cookies c#?
What is the difference between add and addrange in c#?
What is the difference between var and dynamic types in c# 4.0?
What is difference between ienumerable and list?