What features are people looking forward to in .Net 4.0 - 4.1

后端 未结 11 1638
没有蜡笔的小新
没有蜡笔的小新 2021-01-07 04:58

I am very interested in learning what features people are interested in in the forthcoming .net framework(s)?

Whether these be new classes or new controls I am curio

相关标签:
11条回答
  • 2021-01-07 05:21

    Code Contracts and Parallel Extensions. Neither are language features (which is mostly what I get interested in usually) but both have the potential to significantly change how we write code.

    The DLR does sound cool and interesting, but I'm not sure I'd end up using it much, at least in terms of interoperating with IronRuby/IronPython. It'll be nice to be able to use late binding to reduce reflection boilerplate code though

    In terms of C# 4 language features, covariance and contravariance will be more of a "phew, that reduces an annoyance" than a "wahay, cool stuff!" but optional/named arguments could be very handy. It'll make writing/using immutable types slightly easier, although I'd still like built-in support for the builder pattern :)

    0 讨论(0)
  • 2021-01-07 05:22

    The DLR and Parallel Extensions, although I can't say I'm that informed as to exactly what's going to be in the box when it ships.

    Edit: As per Jon Skeet, Code Contracts do look nice too. Not ground breaking, but from the samples I've seen they look like a nice way to represent it.

    0 讨论(0)
  • 2021-01-07 05:23

    I'm looking forward to new WPF controls. I believe the now WPF Toolkit will be incorporated as controls in the framework. It'll be a lot nicer having them as stock controls in Visual Studio and having them patched with the .NET framework rather than having to download a new set every time bugfixes have to go out.

    Also, i'm looking forward to Visual Studio 2010 in all it's WPF glory!

    0 讨论(0)
  • 2021-01-07 05:27

    The promise of alot better Sharepoint developer tools and support, 'cause when you have to work in it currently, it's a bit of a pain.

    Just the deployment options they plan on having will save some headaches.

    So I'm optimistic they have listened to the groans from the developer community.

    0 讨论(0)
  • 2021-01-07 05:28
    • Optional parameters in C#

    More so than than .NET 4.0, I'm really looking forward to Visual Studio 2010, same as jirwin's response.

    0 讨论(0)
  • 2021-01-07 05:34

    A framework tuple class and C#4 'dynamic', which I'm going to use everywhere to get one up on people who use 'var' everywhere. (I know 'dynamic' is not a pure framework feature - but it's part framework)

    0 讨论(0)
提交回复
热议问题