From: "Aryeh M. Frierdman" Date: 2003-07-07T06:53:20+09:00 Subject: Re: Freezing an arbitary object Thanks for the answers so far but "none" of them actually do what I want. What I want to do is declare some instance/var/whatever as being invariant and any attemt to vary it will result in an error. I am convinced their has to be some generic way to do this *without* the caller to the "test" being "aware" that they are asking for it to be froozen. The int example I gave was only that an example it could of very well been a String, MyClass, EvilDictator, etc.