ALL
What else is new in C# 5?
The big new feature in C# 5 is asynchronous programming support, which I wrote about last week. However, the C# folks have also slipped in a couple of smaller features and I thought I’d round things out by mentioning those.Method caller informationThere’s a complete style guide to be written on Writing Enterprisey Code, but one of my favourite “enterprisey†tells, after the use of Visual Basic, is obsessively logging every function you pass through:Function AddTwoNumbers(a As Integer, b As Integer) As Integer Logger.Trace("ArithmeticHelpers", "AddTwoNumbers", "Enter...
3,400 0 NEW FEATURE ANALYSIS C# 5