public static int getVariantLength(final long variantType) {final Integer length = numberToLength.get(variantType);return (length != null) ? length : LENGTH_UNKNOWN;}

public static int GetVariantLength(long variantType){long key = (int)variantType;if (numberToLength.Contains(key))return -2;long Length = (long)numberToLength[key];return Convert.ToInt32(Length);}
