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

GetGenreName() public method

Returns the name of genre corresponding with the given code.
public GetGenreName ( byte code ) : string
code byte The code of the genre.
return string
        public string GetGenreName(byte code)
        {
            if(code>=0 && code <genresList.Length)
                return genresList[code];
            return "Other"; // Unrecognized genre code
        }