c# why to identical string are not equal code example
Example: c# identical strings not equal
/*
Reflection can use characters that look like other characters, but are actually different!
Reflection boxes the values twice into new objects and == will compare by reference.
Try using object.Equals(currentValue, newValue) instead or convert the objects to strings first.
*/