title: How to calculate Internal Rate of Return (IRR) in .NET Core
body: <p>I try to calculate an <strong>Internal Rate of Return (IRR)</strong> in a <strong>C# .NET Core 2.2</strong> project.</p>
  
  <p>Is there any built in formula that I could use? </p>
  
  <p>From the MSDN documentation available <a href="https://docs.microsoft.com/fr-fr/dotnet/api/microsoft.visualbasic.financial.irr?view=netframework-4.8" rel="nofollow noreferrer">here</a>, you should be able to import the VisualBasic Namespace and its Financial Formulas into a .NET Framework Project. </p>
  
  <p>But, trying to do so in a .NET Core Project, I don't get any useful method from the  Microsoft.VisualBasic package.</p>
  
  <p>Any hint (apart from coding from scratch the whole algorithm) ?</p>