How do I check if 2 items in an array are the same with overloaded operators

后端 未结 0 1904
感情败类
感情败类 2021-01-15 09:50

How do I check if there are any duplicates in an array?

 public static bool operator ==(SolarPanel s1,SolarPanel s2)
        {
            if (s1.Efficiency =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题