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
You could certainly do this with reflection:
I’m not sure what you want to do about the timestamp properties…