Beispiel #1
0
        public int[] ResultAt(int index)
        {
            ChordResult cr = _results[index];

            int[] marks = new int[cr.Marks.Length];
            Array.Copy(cr.Marks, marks, cr.Marks.Length);

            return(marks);
        }
Beispiel #2
0
            public int CompareTo(object obj)
            {
                if (null == obj)
                {
                    throw new ArgumentException();
                }

                ChordResult cfr = obj as ChordResult;

                if ((object)cfr == null)
                {
                    throw new ArgumentException();
                }

                return(MarkUtils.Compare(this.Marks, cfr.Marks));
            }