I have an object like this.
List<TSQLBeginTransactionBlock_Ext> beginTranList =new List<TSQLBeginTransactionBlock_Ext>();
Now i want to make some changes to this object but i want the original object as well.
I tried created a temporary object like this
List<TSQLBeginTransactionBlock_Ext> tempBeginTranList =new List<TSQLBeginTransactionBlock_Ext>();
tempBeginTranList = beginTranList;
then I've made changes to this temp object. But since class objects are of reference types the changes
were automatically made to the beginTranList object.
Can somebody help me out with this?