Digital outputs for stepper motor- using Fez mini

Hi, Can anyone guide me how to write the code for digital outputs for stepper motor. I just want to run motor clockwise and to do 4 rotations and then I want it to rotate counter clockwise and to do four anti-clockwise rotations. I am using Fez mini.

I am not using any drivers. I am using MOSFETS only.

http://www.tinyclr.com/codeshare/entry/514

@ Mike - I am not using EasyDriver. Instead I am using MOSFET circuit with stepper motor and FEz mini.

didn’t you ask this a week ago?
Edit: Yep, http://www.tinyclr.com/forum/topic?id=10324

@ Brett - It was a bit different then what I am asking now. I only need to know about digital outputs now.