Extrude features out of round shapes (radiant?)

Hi,

I want to extrude the feature off the cylinderical part, would like to know how to create that with the shape "radiating" out of the part and also just going straight out like regular extrude.

Im using this as an example because i keep getting to these sort of issues so often and i make up unefficient ways to get around it

thanks!

SolidworksParts And Features