NSoft.NFramework.Collections.PascalSet.AreSimilar C# (CSharp) Method

AreSimilar() public static method

지정된 두 PascalSet의 집합 범위(LowerBound, UpperBound)가 같은지 검사한다. (Same이, Equivalent, Equal과는 다르다)
public static AreSimilar ( PascalSet set1, PascalSet set2 ) : bool
set1 PascalSet
set2 PascalSet
return bool
        public static bool AreSimilar(PascalSet set1, PascalSet set2) {
            return (set1.LowerBound == set2.LowerBound) &&
                   (set1.UpperBound == set2.UpperBound);
        }