1
votes
votes
1 answers
Is it a good practise for all classes amd method parameters to use interfaces?
What benefits do I get if I code all my classes and even their method parameters to interfaces?
blah blah blah is here! blah blah » Close
What benefits do I get if I code all my classes and even their method parameters to interfaces?
I am iterating a collection of objects, and I want to check if the object implements a particular interface. If the object does implement the interface, I want to cast it to that type of object and access its properties. Is this possi ...
Got feedack? Found a bug? report it here.