Easy easy to extend c# class

Love this book, a very easy way call “extension methods” can let you easily inject new method to existing classes (even you don’t have its source code). I tested it in windows with .net framework and mac .net core, both work correctly.