Modify cpprun and .cs file to make the project run successfully.