logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How can you prevent a class from overriding in C# and Visual Basic?


  • Correct Answer
  • You can prevent a class from overriding in C# by using the sealed keyword; whereas, the NotInheritable keyword is used to prevent a class from overriding in Visual Basic 


  • Technology problems


    Search Results


    • 1. What is the syntax to inherit from a class in C#?
    • Discuss
    • 2. Does .NET support multiple inheritance?
    • Discuss
    • 3. In which namespace, all .NET collection classes are contained?
    • Discuss
    • 4. What are the main components of .NET Framework?
    • Discuss
    • 5. What is .NET Framework?
    • Discuss
    • 6. Explain ADO.NET in brief.
    • Discuss
    • 7. What are the usages of the Command object in ADO.NET?
    • Discuss
    • 8. What are the usages of the Command object in ADO.NET?
    • Discuss
    • 9. What is Dynamic Language Runtime (DLR)?
    • Discuss
    • 10. What is ASP.NET?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment