Beispiel #1
0
    public static string Convert(int number)
    {
        var sounds = Raindrops.GetSounds(number).ToArray();

        if (sounds.Count() == 0)
        {
            return(number.ToString());
        }

        return(string.Join(string.Empty, sounds));
    }