Quantcast
Channel: {%Pragmatic Coding%} » LINQ
Viewing all articles
Browse latest Browse all 2

How To: Get property value from string using reflection in C#

$
0
0
Few days ago I had to implement selection of a list of items with filtering and fields I had to filter by has been passed as a string value. Will give you sample function where I have implemented filtering. [crayon-5577715ceb298229670183/] As you can see I'm using GetPropValue function that uses Reflection to get object property Read the full article...

Viewing all articles
Browse latest Browse all 2

Trending Articles