I have the following questions:
1. Syntax of calling sub routine
2. How to pass in variables, I read they need to be passed in by reference.
3. Where to specify the fortran version
In the DllImport tag should I add the path to the dll as well as the name? I tried to add the dll as a reference to the project although it returned an error stating "please make sure your file is accessible, and that it is a valid assembly or COM component".
http://software.intel.com/en-us/articles/calling-fortran-function-or-subroutine-in-dll-from-c-code/
Calling NAG Fortran Library (DLL) from C#
http://www.nag.co.uk/numeric/csharpinfo.asp
Fortran for Microsoft.NET
http://www.codeproject.com/Articles/1696/Fortran-for-Microsoft-NET