Invoking .net method through BPM

Has anyone used the invoke .net method? How does this work? I am
not even sure where to begin.