adspace
Answer Posted / Indira Kumari
Interfaces in C# are primarily used to define a contract or set of methods that must be implemented by classes that want to adhere to that contract. They enable loose coupling, making it easier to swap implementations and promoting testability.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers