Horje
Get properties and values from unknown object Code Example
Get properties and values from unknown object
Type myType = myObject.GetType();
IList<PropertyInfo> props = new List<PropertyInfo>(myType.GetProperties());

foreach (PropertyInfo prop in props)
{
    object propValue = prop.GetValue(myObject, null);

    // Do something with propValue
}




Csharp

Related
how to create empty text file in c# Code Example how to create empty text file in c# Code Example
c# consuming post rest service Code Example c# consuming post rest service Code Example
get query string parameter from string value c# Code Example get query string parameter from string value c# Code Example
save file dialog filter c# Code Example save file dialog filter c# Code Example
how to restart flutter app programmatically Code Example how to restart flutter app programmatically Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
18