public override bool Equals(Object obj)
 {
     try
     {
         SimpleVal <T> localTestVar = (SimpleVal <T>)obj;
         if (_valField.Equals(localTestVar.Val))
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
     catch
     {
         return(false);
     }
 }
 public int CompareTo(SimpleVal <T> obj)
 {
     return(_valField.CompareTo(obj.Val));
 }
 public bool Equals(SimpleVal <T> obj)
 {
     return(0 == CompareTo(obj));
 }