Which keyword is used to declare an interface in C#?

84. Which keyword is used to declare an interface in C#?

  1. interface
  2. Interface
  3. implement
  4. Implement

Answer: A) interface

Explanation:

In C#, an interface can be declared using the interface keyword. An interface can contain declarations of methods, properties, indexers, and events.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.