So , I can't understand this:
- Let's say I have a class called : Bob and a variable called name with the type Bob.
And I do something like this:
foreach(ListViewItem item in listView1.Items)
{
if((Bob)item.Tag == name)
{ //code }
}
What this actually does? it compares the item with the type of the class if all the objects from the constructor are the same with the variable of that class?
Thanks