Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
1. Get Nested Property value using reflection and Linq.Expression
Updated: 8 Apr 2011
Saw this a while back; it's simpler (dirty and wrong but... ):public static T Get(Func getDelegate, bool DefaultTOnNull = false, T defaultVal = null) where T : class{ T result = null; try { result = getDelegate(); } catch...
C#, ASP.NET, LINQ, reflection
|
|
|
|
I have been developing software since I was 10 years old: I'm proud to have started with an Olivetti PC 128S

.
I'm a Software Architect and Senior Developer with a strong back ground of all the developing Microsoft's technologies.
In my life I have had the chance to work in Microsoft services as Microsoft consultant for more then 3 years, then I decided to imporve my skill and face new challanges so I moved to UK where the IT market is very developed and competitive