erickson является почти правильным: так как Вы хотите соответствовать на количествах дубликатов, Вы хотите Сумка . В Java это смотрит что-то как:
(new HashBag(collection1)).equals(new HashBag(collection2))
я уверен, что C# имеет встроенную реализацию Набора. Я использовал бы это сначала; если производительность является проблемой, Вы могли бы всегда использовать различную реализацию Набора, но использовать тот же интерфейс Set.
You could try running nm on the object files instead of the linked executable:
nm -g -j *.o | sort | uniq
The objects should be in the build/
sub-directory.
You're seeing a reference to AudioServicesPlaySystemSound
because one of the functions you did call in turn calls AudioServicesPlaySystemSound
.
Objective C calls won't generally show up in nm
dumps, you'll need to use otool
for that:
otool -ov <object file>