Introduction:
Here we will learn how to use reflection to get list
object properties and values in c#,
vb.net
with example or get all properties and values of an object in c#,
vb.net
with example or get list of properties from list of objects using reflection in
c#,
vb.net
or how to get property names and values using reflection in c#,
vb.net
with example. By using Reflection
properties we can easily get list object property names and values based on our
requirements.
Description:
In previous articles I explained send generic list as parameter to function in c#, convert list object to json string in c#, vb.net, bind generic list to gridview example in asp.net, jQuery bind data to asp.net gridview example, dictionary object in c#, vb.net with example, static constructor in c#, vb.net with example, difference between ref and out in c#, vb.net with example
and many more articles related to generic list, asp.net,
mvc, c#,
vb.net.
Now I will explain how to get all property names and values of an object in c#,
vb.net
with example.