But here is a scenario where it still fails:
private class Fruit
{
public int ripe;
public int rotton;
}
private class FruitBowl : List<Fruit>
{
public void CheckFruit()
{
for(int i = 0; i < this.Count; i++)
{
this[i]. //Intellisense fails here. We should see a list with ripe and rotton.
}
}
}
thanks,
shawnj

Comment