private void Counter() { // The counter is used to test parseRecord identity lock(typeof(ParseRecord)) { PRparseRecordId = parseRecordIdCount++; } }