I want to ask the following question:
Q: What is the difference between AddRange() in C# and Append() in Qt?
I read the description for both and in my opinion they are almost identical in there functionality.
I want to ask the following question:
Q: What is the difference between AddRange() in C# and Append() in Qt?
I read the description for both and in my opinion they are almost identical in there functionality.
Copyright © 2021 Jogjafile Inc.
Conceptually, the two methods are identical, though
QList
offers an override that just takes one element (QList::add(const T&)
) whereasIList
in .NET provides a method with a different name to accomplish this (IList.Add
).QList
also offers apush_back
method, which does exactly what theadd(const T&)
method does.