2
Answers

interface

Photo of Vedant

Vedant

9y
313
1
i have a dll file that have contain method into interface  how can i use method into windows application c#

Answers (2)

0
Photo of Nishant Mittal
NA 5.8k 354.9k 9y
hi
Using "your dll name"
Class A : "Your Interface name"
{
//Implement the method
}
0
Photo of Ravi Patel
NA 7.8k 532.6k 9y
Hi,
 
include the dll  into your project   and  implement the interface  in your  class  and the  
 
suppose  your interface name  MyInterface contain a method display()
 
then create a class  
public class  myclass : MyInterface
{
 
public override void display()
{
//Some Implementation Here
}