How to communicate between c# script and java script

I want to communicate from c# to java , java to c#.
The functions have some parameters and I must input data type value to the function.
How can I communicate between c# and java?
please explain about this.

Already questions with answers on this, like this one. you should search before asking questions.