How can you prevent classes to be inherited?
Answer Posted / lucky
make the constructor private.
| Is This Answer Correct ? | 0 Yes | 14 No |
Post New Answer View All Answers
What is the .NET collection class that allows an element to be accessed using a unique key?
Why c# is called type safe language?
What is difference between array and list in c#?
What is a value type in c#?
What is a di class?
Is c# easier than c++?
List the differences between method overriding and method overloading?
What is the difference between CreateObject() and GetObject()?
What is the difference between array and list in c#?
Why do we write system in c#?
Can we have 2 main methods in c#?
What is the default value of guid in c#?
Explain the process of inheriting a class into another class?
Which is better python or c#?
What is a string in c#?