Пример #1
0
 /// <summary>
 /// Serves as a hash function for a particular type. GetHashCode() is suitable
 /// for use in hashing algorithms and data structures like a hash table.
 /// </summary>
 /// <returns>A hash code for the current object.</returns>
 public override int GetHashCode()
 {
     return(KSAID.GetHashCode());
 }
Пример #2
0
 /// <summary>
 /// Serves as a hash function for a particular type. GetHashCode() is suitable
 /// for use in hashing algorithms and data structures like a hash table.
 /// </summary>
 /// <returns>A hash code for the current object.</returns>
 public override int GetHashCode()
 {
     return(SeriesID.GetHashCode() ^ Grade.GetHashCode() ^ KSAID.GetHashCode() ^ TaskStatementID.GetHashCode());
 }
Пример #3
0
 ///<summary>
 /// Returns a String that represents the current object.
 ///</summary>
 public override string ToString()
 {
     return("KSAID:" + KSAID.ToString());
 }
Пример #4
0
 ///<summary>
 /// Returns a String that represents the current object.
 ///</summary>
 public override string ToString()
 {
     return("SeriesID:" + SeriesID.ToString() + "Grade:" + Grade.ToString() + "KSAID:" + KSAID.ToString() + "TaskStatementID:" + TaskStatementID.ToString());
 }