Is it possible to create custom implementation of interface with pattern?

Viewed 41

I found that for implementation of IDisposable interface Visual Studio 2019 suggests two possible fixes:

enter image description here

Is it possible to create a custom interface with an option to implement with some pattern?

If it's possible then how to do it?

The only somehow related post I found is this one.

0 Answers
Related