6 ms·
A note to those that may be confused: C# 5.0 is the language version used by visual studio 2012, which was released in August of last year, alongside the .net f
by samrift 13y ago
A note to those that may be confused: C# 5.0 is the language version used by visual studio 2012, which was released in August of last year, alongside the .net framework 4.5. This is an updated revision, although a cursory look didn't reveal any differences to me.
I'm sure a few people were wondering if this was to go alongside Visual Studio 2013, expected to be released in beta later this week.
- danbruc 13y agoC# 5.0 adds asynchronous methods [1] and caller info attributes [2] to the language. They also changed respectively fixed the way foreach loop variables are captured in closures [3] and changed the overload resolution algorithm [3] and argument evaluation order [3]. [1] http://msdn.microsoft.com/library/hh191443.aspx http://msdn.microsoft.com/library/hh191443.aspx [2] http://msdn.microsoft.com/library/hh534540.aspx http://msdn.microsoft.com/library/hh534540.aspx [3] http://msdn.microsoft.com/library/hh678682.aspx http://msdn.microsoft.com/library/hh678682.aspx
- samrift 13y agoI'm sorry, I meant that I didn't see any differences from the C# 5.0 specification released in August 2012 and the revision posted here, which was updated in June 2013. I am aware of the differences from c#4 to c#5. My point being that c# 5.0 is around 1 year old, and this spec is not new.
- danbruc 13y agoMaybe someone else will still find the information helpful. I also just noticed that the copyright still says 1999-2012 - maybe they just reuploaded it.