Expression bodied members were introduced in C# 6.0. You can read more about those here
C# 7.0 introduced more stuff like accessors, finalizer’s and constructors as expression bodied members
Expression Bodied Syntax for constructors
Expression Bodied Syntax for Finalizers
Expression Bodied Syntax for Accessors
All code samples are available at my GitHub profile
I am a corporate trainer and solution architect and have a great team of software professionals. Please contact in case you need our services by sending email to firstname.lastname@example.org. Here is our company website .