SecretSoftware wrote:
What do you think is missing from 3.0 and should be in 4.0? What are your expectations for C# 4.0?
It should be interesting to see what others think about what should be in 4.0 and what is missing that would make life easier for devs.
Thanks
Here's something that I'd like to see that I think would be fairly easy to implement:
using a reference type as a value type. Being able to instantiate a reference type on the stack and pass copies or by reference as I see fit.
Yes, I know all about value type, and why it was created and how to use it, but doggone it, I miss being able to instantiate any type -- like types I can't modify -- on the stack instead of in the heap. There were some really great benefits that are lost with
the value type/reference type model.
True, if I really needed that functionality I could just slum it with C++/CLI, but then I'd lose all the great things about C# that make it so much better than C++.
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.