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
}