Board: [DeveloperNet] C# Subject: Re: New features in C# 4. From: art Date: Sun May 23, 2010 20:30 Hi Nightfox, Nightfox wrote: > - With version 4.0, C# supports default function parameters as in C++. For > example: > - Thekeyword "dynamic": This adds language-level support which simplifies the > process of calling methods on objects loaded from an external library > (assembly) at run-time. I have been using VS2010 for a few months now, and recently started using the RTM version due for public release shortly. Although C# 4.0 is by and large unchanged, defaults and dynamics are two of the big ones that I'm already trying to implement in all my C# code, they are definitely handy additions. Another big one is a redefinitionof IEnumerables to finally support co- as well as contra-variance. COM interop has been improved, I've not yet dabbled too deeply into this, but Office Server 2007/2010 and Office 2007/2010 interop seems, from what little I've played with them, fairly simple. Has anyone out there tried .NET 4.0 in PowerShell 1 or 2 CTP? I'd be interested to hear any experiences on this. All in all, I'm enjoying the new .NET 4.0 and C# 4.0, I think most programmers with experience in other languages, as you mentioned C++ will certainly find it a friendlier albeit slightly stricter version... a good thing IMHO. Kind regards, ________________ _______ \_____ __ \ ___\ \ __ \ <_ \ @ fatcats[dot]poorcoding[dot]com \_______\___\___\___\ ------------------------------------ f a t c a t s b b s --- ■ Synchronet ■ fatcats bbs - http://fatcats.poorcoding.com .