C# Constructor

Beninem's Avatar, Join Date: Feb 2012
Newbie Member
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();
0
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.