Hi
I have implemented an interface as below. I am getting a "Class
'HelloWordPlugi n' 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.WriteLi ne("Hello, World!")
End Sub
End Class
I have implemented an interface as below. I am getting a "Class
'HelloWordPlugi n' 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.WriteLi ne("Hello, World!")
End Sub
End Class
Comment