Actual way to use root

I am using the latest version of root with .NET2003. It is running fine but the way I am using it is like this.
In my .NET frame work I linked the lib and dlls.
Now I am directly using the functions like interpolation, TMatrixD, Math functions etc in my code.

One question is… :question:
whether it is the way to use root or I am following any wrong way.

Because I want to use root perfectly.


Well, you have two ways of using ROOT
-as a library, ie you use classes from the ROOT dlls and you organize the steering program yourself
-using the root.exe executable module from which you can dynamically load any plug-in other ROOT classes or your own classes if they ahve a dictionary)

Both modes are supported, but you will see more benefits in using the second form.