Executing custom AGI Scripts C#

I have a custom script as a .cs file which is to be executed when a specific extension is called
how do i do this with Free PBX ???

Please provide steps

Your Help is appreciated