tin
Using a default implementation on an interface
Ok, sorry for coming back again. I think this is really the last time. Will this incur boxing at runtime when I want to call that function?
Because I will have to now explicitly cast everything as that interface to make it work right?
26 replies
Using a default implementation on an interface
Maybe one more question in case you know that too. If I now have another method
throws an error, since
GetComponent
is not implemented and it somehow does not manage to use the default implementation from the interface.
Prepending the interface name also does not work. Is there a way to use the default implementation without boxing?26 replies