Conceptually, the two methods are identical, though QList
offers an override that just takes one element ( QList::add(const T&)
) whereas IList
in .NET provides a method with a different name to accomplish this ( IList.Add
).
QList
also offers a push_back
method, which does exactly what the add(const T&)
method does.