+ 2
Can you add your code?
14th Feb 2022, 7:59 PM
Ausgrindtube - avatar
+ 1
Testing equality for custom types in a list can be difficult. The built in equality tests for list can't evaluate the custom type, each of the types properties, without an extension. You can do this with a couple loops and or LINQ or add your own equality check to the classroom model. If you add your code, or example, we can help better as it will be situational.
15th Feb 2022, 2:21 AM
Kail Galestorm
Kail Galestorm - avatar