I am new to ArcObjects, but I have managed to find and slightly modify some code that works perfectly for a task that I have ... with the exception that it is very, very slow (several minutes to run). The data I am using are not large, so I am guessing there is something within the code that is not quite maximized for speed. Attached is the code ... essentially it finds the Maximum Z value from a DEM layer using zonal stats with the zones being defined by ~150 polygons from a separate layer and then populates a field in that same polygon layer with those Z values. I am interested in learning the reason for the speed issue (to improve my skills) as much as I am interested in changing the code so any advice, explanations, and/or suggestions much appreciated. Thanks.