Explain Interfaces in C# with example.
Answers
Answered by
0
Its members are implemented by any class or struct that implements the interface. Interfaces can contain events, indexers, methods, and properties. Interfaces contain no implementation of methods. ... A class can inherit a base class and also implement one or more interfaces.
Similar questions
Biology,
6 months ago
Chemistry,
6 months ago
Physics,
6 months ago
Computer Science,
1 year ago
English,
1 year ago