======Метод Location.Compare(Location, Location)====== Compares two specified location values. * **Пространство имен:** [[developers:references:topomatic.crs.ast|Topomatic.Crs.Ast]] * **Сборка:** Topomatic.Crs (в Topomatic.Crs.dll) =====Синтаксис===== public static int Compare(Location left, Location right) **Параметры** * //left// * Тип: [[developers:references:topomatic.crs.ast.location|Topomatic.Crs.Ast.Location]] * One location to compare. * //right// * Тип: [[developers:references:topomatic.crs.ast.location|Topomatic.Crs.Ast.Location]] * The other location to compare. **Возвращаемое значение** * Тип: [[developers:references:system.int32|System.Int32]] * 0 if the locations are equal, -1 if the left one is less than the right one, 1 otherwise.