コード例 #1
0
 public Test()                //parameterless constructor
 {
     User = new UserDetail(); //create object
 }
コード例 #2
0
        //private readonly object DataRow;

        //parameterless constructor
        public Test()
        {
            userDetailsPattern = new UserDetail(); //object of UserDetail and store the userDetailsPattern variable
        }