C# noob - find all properties of type DateTime in an class

Posted by Chin on Stack Overflow See other posts from Stack Overflow or by Chin
Published on 2010-03-22T08:01:11Z Indexed on 2010/03/22 8:11 UTC
Read the original article Hit count: 425

Filed under:
|

Got to do a quick job in C# which I am a complete noob. I need to adjust the datetime of a bunch of objects. I'd like to loop through the properties of the class and if the type is dateTime adjust accordingly. Is there any kind of 'describe type' built in goodness I can use?

© Stack Overflow or respective owner

Related posts about c#

Related posts about datetime