In computer science, name equality states that two objects are of the same type if and only if their type names are exactly the same. Contrast to structural equality.