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
What is the function of the not null constraint?
What do you mean by directing?
What is sqlcommandbuilder c#?
How does bitwise work?
Can abstract class have private constructor c#?
What are the benefits of using generics in c#?
How do you clear a list in c#?
Where value types are stored in c#?
What is written in c#?
What is the compiler of c#?
Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!
Can class be protected in c#?
Is multiple inheritance possible in c#?
How do you determine whether a string represents a numeric value?
What framework is used for performance testing/load testing?