How do I calculate Excel's XIRR function using C#?

Edit
Report