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

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