Code:
[DllImport("inpout32.dll", EntryPoint="Out32")]
public static extern void Output(int adress, int value);
is the way to do it using C#.