PID controller in C-Sharp

I am looking for writing a PID controller in C-Sharp
This is a start of a controller’s modules library in C-Sharp
A Trans - Compiler could then be used to translate the algorithms to a platform for of the choice

thankssssssssssssssssssssssssssssssssssssss