Vladimir Ulchenko wrote:
> On Wed, 27 Jan 2010 11:40:46 -0800, Rudy Velthuis (TeamB) > <✉rvelthuis.de> wrote: > > > A simpler version was already possible using interfaces without > > generics. > > > > Alernatively, using anonymous methods (and generics) you can > > implement something like C#'s "using()" construct. > > will you please show your alternatives?
The simpler version was integrated in the JCL (not sure how they call the classes now, I called them guard interfaces).
I'll try to find an example of the Using() procedure. -- Rudy Velthuis (TeamB) http://www.teamb.com
"He has the attention span of a lightning bolt." -- Robert Redford