Tag Archives: c#6

Essential C# language features

Some interesting features of C# 6 Automatically implemented properties Object initializer Caller information (CallerFilePathAttribute, CallerLineNumberAttribute, CallerMemberNameAttribute) Collection initializer Extension Methods Lambda Expressions Var keyword Anonymous types LINQ Async and Await Expression bodied methods like CalcMonthlyWage(int dailyWage) => dailyWage * 30 … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment