I have a control that overrides the protected GetService method and assigns it to the IServiceProvider interface:
Class MyControl
Inherits Control
Implements IServiceProvider
Protected Overrides Sub GetService(t as Type) as Object Implements IServiceProvider.GetService
End Sub
End Class
I'm struggling to convert this to c#. I've tried implicit v. explicit but I must be getting the syntax wrong.