Empty object check
        Posted  
        
            by developer
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by developer
        
        
        
        Published on 2010-03-25T19:39:22Z
        Indexed on 
            2010/03/25
            19:43 UTC
        
        
        Read the original article
        Hit count: 283
        
c#
Is there a way to know if all the properties in an object are empty. My object represents fields from database and I want to know if a particular record is present or not. NULL doesnt seem to work.
© Stack Overflow or respective owner