Пример #1
0
        public Unswer copy()
        {
            Unswer copy = new Unswer();

            copy.content   = content;
            copy.id        = id;
            copy.isRight   = isRight;
            copy.isDeleted = isDeleted;

            return(copy);
        }
Пример #2
0
        public bool compare(Unswer unswer)
        {
            if (!unswer.content.Equals(content))
            {
                return(false);
            }
            if (!unswer.isRight.Equals(isRight))
            {
                return(false);
            }

            return(true);
        }