public _2DArray(_2DArray <T> array) { m_Height = array.m_Height; m_Width = array.m_Width; m_Array = new T[m_Height * m_Width]; m_Array = GenericCopier <T[]> .DeepCopy(array.m_Array); }
public Node Copy() { Node newNode = new Node(m_Grid.Rows, m_Grid.Columns); newNode.m_Grid = new Grid(m_Grid); newNode.m_CharMappedWords = GenericCopier <Dictionary <char, List <string> > > .DeepCopy(m_CharMappedWords); return(newNode); }