Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C# (http://www.go4expert.com/forums/c-sharp/)
-   -   C# Constructor (http://www.go4expert.com/forums/c-sharp-constructor-t27833/)

Beninem 19Feb2012 17:47

C# Constructor
 
Hi,

I'm a DBA, having to debug some C# code. I'm not sure where the constructor suppose to go, I'm getting squiggly red lines under the ar bit of ar = new ArJni();

ArJni is part of a DLL file called ARJNILIB which has been registered and is in the using clause as you can see below.

Any help you could give me would be fantastic! Thanks in advance.

Code:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ARJNILib;



namespace WindowsFormsApplication1
{

   

    public partial class Form1 : Form
    {
       
       
        public Form1()
        {

            InitializeComponent();
           
        }
           
    private void Process()
    {
        ar = new ArJni();


Beninem 19Feb2012 17:49

Re: C# Constructor
 
oh and I know that's not the full code above, all brackets are closed off correctly etc. Let me know if you want the whole thing.


All times are GMT +5.5. The time now is 19:41.