C# With JS?

How can I program C# with JS?
Such as one part of code written in JS while the other in C#? Is that possible?If not,how do I do it?

Also,do I have to master full JS and C# language?
P.S-I know C++ Programming language,so i shouldn’t have problem with C#.

You cannot mix languages in same script.

But you can have one JS script and one C# script and so on.

EDIT: you don’t even need to know JS. You can do everything with c#. It is good to know it tho to be able to read 3rd party js scripts.