Searching for a specified instance in List

Short post about searching List. There are 3 most popular methods: foreach, delegate and lambda expression. I will introduce all of them. Let's say that we have List which stores cars. Car has 2 properties - brand and model. We need to find "Car2Brand" car. You can use foreach: I don't like this method, because … Continue reading Searching for a specified instance in List