C# Constructor

Beninem's Avatar, Join Date: Feb 2012
Newbie Member

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.

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()

    private void Process()
        ar = new ArJni();
Beninem's Avatar, Join Date: Feb 2012
Newbie Member
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.