BO4E/EnergyIdentificationCodes/EnergyIdentificationCodeExtensions.cs
/// <summary>
/// converts the number <paramref name="number"/> to a character accordint to the ENTSO-E/EIC algorithm,
/// </summary>
/// <remarks>basically reverts <see cref="CharacterToNumberEic"/></remarks>
/// <param name="number"></param>
/// <returns></returns>
converts the number  to a character accordint to the ENTSO-E/EIC algorithm.
converts the number to a character accordint to the ENTSO - E / EIC algorithm .
private static char NumberToEicCharacter(int number)
        {
            return number switch
            {
                < 10 or > 36 => throw new ArgumentOutOfRangeException(nameof(number), "Only the range [10,36] is supported."),
                36 => '-',
                _ => (char)(number + 55)
            };
        }
private static char NumberToEicCharacter ( int number ) { return number switch { < 10 or > 36 => throw new ArgumentOutOfRangeException ( nameof ( number ) , " " ) , 36 => ' ' , _ => ( char ) ( number + 55 ) } ; }
converts the number  to a character accordint to the ENTSO-E/EIC algorithm,
converts the number to a character accordint to the ENTSO - E / EIC algorithm
None
number
int
None
remarks
None