Board: [DeveloperNet] C# Subject: Re: New features in C# 4. From: Nightfox Date: Sun May 23, 2010 21:50 Re: Re: New features in C# 4.0 By: art to Nightfox on Sun May 23 2010 19:30:58 > 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 redefinition of IEnumerables to finally support co- > as well as contra-variance. The presenter I saw also mentioned contra-variance. I admit I was a little lost when he talked about that, because I hadn't used variance before. I actually haven't used C# a whole lot. I have used C# before, in college and for one of my personal proejcts, but I haven't used it enough to make use of its more interesting features which differ from older languages. > All in all, I'm enjoying the new .NET 4.0 and C# 4.0, I think most > programmerswith experience in other languages, as you mentioned C++ > will certainly find it a friendlier albeit slightly stricter version... > a good thing IMHO. The presenter I saw also mentioned a way to name parameters in C# 4.0 so you can pass parameters to functions in any order.. I thought that was something that could definitely be useful. Nightfox --- ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com .