//Initialize the class by getting a pointer to the table and setting up the hash //tables. static unsafe EncodingTable() { lock (typeof(EncodingTable)) { lastEncodingItem = GetNumEncodingItems() - 1; encodingDataPtr = GetEncodingData(); codePageDataPtr = GetCodePageData(); } hashByName = new Hashtable(); hashByCodePage = new Hashtable(); }