private static Hashtable ReadPlayerStatistics(GenericReader reader) { int count = reader.ReadInt(); Hashtable ht = new Hashtable(); for (int i = 0; i < count; i++) { int key = reader.ReadInt(); AuthorStatistics ast = new AuthorStatistics(); ast.Deserialize(reader); ht.Add(key, ast); } return(ht); }
private static Hashtable ReadPlayerStatistics( GenericReader reader ) { int count = reader.ReadInt(); Hashtable ht = new Hashtable(); for( int i = 0; i < count; i++ ) { int key = reader.ReadInt(); AuthorStatistics ast = new AuthorStatistics(); ast.Deserialize( reader ); ht.Add( key, ast ); } return ht; }