public override int GetHashCode() { unchecked { int hashCode = (ExerciseInitialCode != null ? ExerciseInitialCode.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ExpectedOutput != null ? ExpectedOutput.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (HintsMd != null ? HintsMd.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = ExerciseInitialCode?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (ExpectedOutput?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (HintsMd?.GetHashCode() ?? 0); return(hashCode); } }