System.Collections.IList items = (System.Collections.IList)obj; var booksList = items.Cast<Book>()?.ToList();