Kerry Whelan [mailto:[EMAIL PROTECTED]] wrote:
> How can I set up the arrays so that the orgColl's value is > not changed when newColl's value is changed. You're problem is this line: > newColl = orgColl; With the above statement, newColl now references the same Array instance as orgColl. If you want to copy the contents of one array to another you need to do: <codeSnippet language="C#"> ConfigApp.Config.ConfigCollection[] newColl = new ConfigApp.Config.ConfigCollection[orgColl.Count]; orgColl.CopyTo(newColl, 0); </codeSnippet> HTH, Drew .NET MVP You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.