RE: [NF] For my C# friends who miss With End With.

2009-01-28 Thread Dave Crozier
Stephen, At lastmanna from heaven! I've been waiting for this since I first got into C# but I haven't had time to check out the new version. Well spotted! Dave Crozier -Original Message- From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of Stephen Russell

Re: [NF] For my C# friends who miss With End With.

2009-01-28 Thread Stephen Russell
On Wed, Jan 28, 2009 at 7:23 AM, Dave Crozier da...@flexipol.co.uk wrote: Stephen, At lastmanna from heaven! I've been waiting for this since I first got into C# but I haven't had time to check out the new version. Well spotted! Article says that it

RE: [NF] For my C# friends who miss With End With.

2009-01-28 Thread Christof Wollenhaupt
Hi Stephen, Article says that it works in 2.0 but not on mine. Been using this for a while in my 2.0 code. It works with .NET 2.0 as the target platform, but requires C# 3.0 (i.e. VS.NET 2008) since it's a compiler feature. Fortunately, a lot of VS 2008 features are in fact compiler features.