J
John
Hi
I have implemented an interface as below. I am getting a "Class
'HelloWordPlugin' must implement 'Sub PerformAction()' for interface
'IPlugin'." error. What is the problem and how can I fix it?
Thanks
Regards
Public Interface IPlugin
Sub PerformAction()
End Interface
Public Class HelloWordPlugin
Implements IPlugin
Public Sub PerformAction()
Console.WriteLine("Hello, World!")
End Sub
End Class
I have implemented an interface as below. I am getting a "Class
'HelloWordPlugin' must implement 'Sub PerformAction()' for interface
'IPlugin'." error. What is the problem and how can I fix it?
Thanks
Regards
Public Interface IPlugin
Sub PerformAction()
End Interface
Public Class HelloWordPlugin
Implements IPlugin
Public Sub PerformAction()
Console.WriteLine("Hello, World!")
End Sub
End Class