1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

C# Constructor

Discussion in 'C#' started by Beninem, Feb 19, 2012.

  1. Beninem

    Beninem New 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(); 
  2. Beninem

    Beninem New 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.

Share This Page