Use the code stage to house your .Net code, with inputs and outputs to pass variables. References and namespaces are set up in the Page Information box of the Initialise page. Inside is also a section for global code, where you could put a function or variable for all the other code stages to see.