title: Call JavaScript function from C#
body: <h3>Javascript.js</h3>
  
  <pre><code>function functionname1(arg1, arg2){content}
  </code></pre>
  
  <h2>C# file</h2>
  
  <pre><code>public string functionname(arg)
  {
      if (condition)
      {
          functionname1(arg1,arg2); // How do I call the JavaScript function from C#?
      }
  }
  </code></pre>
  
  <p>Please refer the above code and suggest me the idea to call a JavaScript function from C#.</p>