Method FreezeFreeze()Prevents further modifications in the current object. Declaration public void Freeze()