質問

I have to use NPV function for Financial calculation. I did some researches but I was confused about how to add it into my c# project.

people say that; Just add Financial.dll to the references in your project. The functions are provided as static methods on a Financial class in the System.Numerics namespace

I added System.Numerics namespace but I couldnt reach to NPV function. Where can I find the Financial.dll file?

Thanks

役に立ちましたか?

解決

Access it just like any other classes containing functions:

double npvResult = Financial.Npv(rate, flows);

(Pulled from here)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top