title: VB "Financial.Pmt" equivalent in C#?
body: <p>There is a built in function from the Microsoft.VisualBasic assembly. I can use it in VB like this:</p>
  
  <pre><code>Financial.Pmt((dAPR / 100) / 12, iNumberOfPayments, dLoanAmount) * -1
  </code></pre>
  
  <p>My current project is in C# and I need to use this function. Answers on the web say just add the namespace and assembly and use the same in C#- but this is not true! C# still does not recognize this formula.</p>
  
  <p>So how can I use use Financial.Pmt in C# (or perhaps even porting the source code to it)? Thanks for any help.</p>