Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

C# Interfaces - besides being used for multiple inheritance and design patterns, what are other uses of interfaces?

C# Interfaces - besides being used for multiple inheritance and design patterns, what are other uses of interfaces? Any links or examples?
0
cbrune
Asked:
cbrune
1 Solution
 
Carl TawnSystems and Integration DeveloperCommented:
One primary use is to allow polymorphic behaviour, allowing objects of different types to behave in the same way. Interface polymorphism is basically the same as class polymorphism except that the details of the implementation are left to the class which exposes the interface.
0
 
rd707Commented:
Interfaces are heavily used when implementing legacy code in the form of COM objects.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now