N
Nicholas Paldino [.NET/C# MVP]
If any of you have the time or inclination, I'd love
feedback/ratings/support (and while I loathe to say it, dissent) to a
recommendation I am making for the C# language:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=388649
Basically, it extends type inference to work with the left-hand side of
an assignment, instead of the right. What I mean by that is if you use the
right hand side, you have to use the "var" keyword, like so:
var o = new object();
What I am proposing is something like this:
object o = new();
There is a lot more to it, but that's the jist of it. For the complete
details follow the link above.
There is also post on my blog about it at (first is permalink):
http://www.caspershouse.com/post.aspx?id=53b672b9-3b76-4027-802f-7a0d5ffeb7cd
http://www.caspershouse.com/post/Called-out.aspx
But it's not much more than a brief synopsis (like here) and a link to
the feedback site.
Thanks in advance.
feedback/ratings/support (and while I loathe to say it, dissent) to a
recommendation I am making for the C# language:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=388649
Basically, it extends type inference to work with the left-hand side of
an assignment, instead of the right. What I mean by that is if you use the
right hand side, you have to use the "var" keyword, like so:
var o = new object();
What I am proposing is something like this:
object o = new();
There is a lot more to it, but that's the jist of it. For the complete
details follow the link above.
There is also post on my blog about it at (first is permalink):
http://www.caspershouse.com/post.aspx?id=53b672b9-3b76-4027-802f-7a0d5ffeb7cd
http://www.caspershouse.com/post/Called-out.aspx
But it's not much more than a brief synopsis (like here) and a link to
the feedback site.
Thanks in advance.