This didn't work.  The C# wasn't able to invoke the function this way.  I had to keep it global, but I did prefix the two functions with "global." like you originally asked.