Achamenes.ID3.StandardGenreManager.LoadGenereDictionary C# (CSharp) Method

LoadGenereDictionary() private static method

private static LoadGenereDictionary ( ) : void
return void
        private static void LoadGenereDictionary()
        {
            //Make sure the list's length does not exceed the max sise of a byte
            System.Diagnostics.Debug.Assert(genresList.Length<byte.MaxValue);

            genreDictionary=new System.Collections.Hashtable();
            for(byte i=0;i<genresList.Length;i++)
                genreDictionary.Add(genresList[i].ToLower(), i);
        }