Good day all.
Let's say for example I have a custom type:
public struct Group {
public string GroupName;
public int someInt;
}
And say I have an array of this type:
public Group[] Groups;
I want to check to see if Groups
has two or more Group
items with the same GroupName
. In pseudo-code it would look like:
if (Groups has two or more Group items with the same name) {
// we have a problem
}
Will be glad if someone helps. Thanks in advance!