Advanced building blocks, making your own methods


I am doing this currently: Advanced building blocks

The bubble sort assignment was quite easy, but the enumerable methods is freaking hard.

I am having a real hard time wrapping my head around this, and how the yield works. Does anyone have tips, or sources to read for how to understand this. Especially with the inject method I have no idea what to do.


Try this. If you are still stuck then ask a specific question about what you are trying to do and we can help you.