Req25: With and From should be allowed together

[This post is part of a series, "wish-list for future versions of VB"]

 

IDEA: With and From should be allowed together. It's just a silly oversight that they're not. For example, we should allow this:

Dim x As New List(Of Integer) With {.Capacity = 10} From {1, 2, 3}

 

Provisional evaluation from VB team: It would be nice if we'd put this into the feature when we created it in the first place. But as for adding it now -- well, it seems like it wouldn't really add much value to many users. We think there are better ways to spend our development time.