Пример #1
0
        private bool IsLower()
        {
            var packages = new List <String> {
                CurrentVersion, Serverversion
            };

            if (CurrentVersion.Equals(Serverversion))
            {
                return(false);
            }
            if (CurrentVersion.EndsWith(strings.not_available))
            {
                return(false);
            }
            packages.Sort(new PackagesSorter());
            return(packages[0].Equals(CurrentVersion));
        }