/******************************************************************************** Copyright 2008 Rick Miller and Pulp Free Press - All Rights Reserved The source code contained within this file is intended for educational purposes only. No warranty as to the quality of the code is expressed or implied. Feel free to use this code provided you include the copyright notice in its entirety. **********************************************************************************/ using System; using System.Text; using System.Collections.Generic; public class MyComplexType : ICloneable { List _string_list = null; String _name = String.Empty; public MyComplexType(String name){ Name = name; _string_list = new List(); for(int i = 0; i<5; i++){ _string_list.Add(String.Empty); } } public List StringList { get { return _string_list; } } public String Name { get { return _name; } set { _name = value; } } public Object Clone(){ MyComplexType mct = new MyComplexType(this.Name + " Clone"); for(int i = 0; i