I have a document library which has 18000 items. When I go to the All Site Contents page, I see 18000 items against the document library name.
But when I query the items in C# as
foreach(SPListItem item in list.Items)
I get a count of just 17000 items
Is it possible that the remaining items are checked-out and thus are not coming in the query(I am an SCA though).
What could be the reason