C# 4.0 Wishlist

2 thoughts on “C# 4.0 Wishlist”

  1. With regard to constraints on your return values you should check out the capabilities being included under System.Diagnostics.Contracts. This allows you to use the Enusure() method to guarantees that a method won’t return null for example.

    Another language feature that I was hoping for was type self referencing to cut down on a lot of refactoring work and such. More information at the URL below.

    https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=470524

Leave a Reply

Your email address will not be published. Required fields are marked *