public static SimpleRef <String>[] GetSimpleStrings(int count)
 {
     SimpleRef <String>[] strings = new SimpleRef <String> [count];
     for (int i = 0; i < count; i++)
     {
         strings[i] = new SimpleRef <String>(i.ToString());
     }
     return(strings);
 }
 public static SimpleRef <int>[] GetSimpleInts(int count)
 {
     SimpleRef <int>[] ints = new SimpleRef <int> [count];
     for (int i = 0; i < count; i++)
     {
         ints[i] = new SimpleRef <int>(i);
     }
     return(ints);
 }
 public override bool Equals(Object obj)
 {
     //		throw new InvalidOperationException("Err_10872zgap Object.Equals(Object) should not be called");
     try
     {
         SimpleRef <T> localTestVar = (SimpleRef <T>)obj;
         if (_val.Equals(localTestVar.Val))
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
     catch
     {
         return(false);
     }
 }
 public bool Equals(SimpleRef <T> obj)
 {
     return(0 == CompareTo(obj));
 }
 public int CompareTo(SimpleRef <T> obj)
 {
     return(_val.CompareTo(obj.Val));
 }