The only thing the code relies on is that this object should have the Add method. Note that you don’t get IntelliSense for this method because you supply its name as a string literal. With the dynamic keyword, this code looks as simple as this one: