wrapper example to allow calling c# function from c++ and vice versa