public static void EnsureFieldComputed(this FieldCollection flds, string cFieldType, string cInternalName, string cFieldTitle, string cFieldDescription, string cGroup, string cCalc)
 {
     try
     {
         if (!flds.HasField(cFieldTitle, cInternalName))
         {
             flds.AddFieldComputed(cInternalName, cFieldTitle, cFieldDescription, cGroup, cCalc);
         }
         else
         {
             Field fld = flds.GetField(cInternalName);
             if (fld.TypeAsString != cFieldType)
             {
                 System.Diagnostics.Trace.WriteLine("Alert");
             }
         }
     }
     catch (Exception ex)
     {
         throw new Exception(string.Format("Error in extFieldCollection.EnsureField -  {0} - {1}", cFieldTitle, ex.Message), ex);
     }
 }