Почему это порождает ошибку компилятора:
class X { public void Add(string str) { Console.WriteLine(str); } }
static class Program
{
    static void Main()
    {
        // error CS1922: Cannot initialize type 'X' with a collection initializer
        // because it does not implement 'System.Collections.IEnumerable'
        var x = new X { "string" };
    }
}
но это не делает:
class X : IEnumerable
{
    public void Add(string str) { Console.WriteLine(str); }
    IEnumerator IEnumerable.GetEnumerator()
    {
        // Try to blow up horribly!
        throw new NotImplementedException();
    }
}
static class Program
{
    static void Main()
    {
        // prints "string" and doesn’t throw
        var x = new X { "string" };
    }
}
В чем причина ограничения инициализаторов коллекции - синтаксического сахара для вызова метода Add - для классов, которые реализуют интерфейс, который не имеет метода Add и который не используется?
