private bool GenericSummaryResultComparison<T>(string szRiskRecordFilePath, string szResultSetSchemaFilePath) where T : class { try { T oRiskRecord;
//Read in the result files. oRiskRecord = SerializationMethods.DeserializeIt<T>(szResultFilePath1, szResultSetSchemaFilePath);
foreach (T o in oRiskRecord) { // actions }
return true; } catch (Exception ex) { throw new ArgumentException(ex.Message, ex.InnerException); } }
How can I get this iteration to work?
Thanks