Is there any way to check for properties of a class for a particular value in c#
- by Rohit
I have a License class.There are 50 boolean properties and some timestamp properties. I want to inform user in case all of these 50 properties are false.
One way is to use 50 if and if conditions.other way is reflection which seems overkill for this thing. Please suggest some other way. I am using .Net framework 3.5