title: calling c function from C#
body: <p>as a simple example, i have a C function which receives an int,increment it and return incremented value.on the other side I enter the input number to textbox in C#.
  how can i call C function to process the number and return it back from c#?Thanks in advance </p>