C# Compiler Error – CS1922 cannot initialize type ‘{0}’ with a coll

In this blog post, you’ll learn more about the C# Compiler Error – CS1922 and the related message description

C# Compiler Error Code

CS1922

C# Compiler Description for the Code :CS1922

Cannot initialize type ‘{0}’ with a collection initializer because it does not implement ‘System.Collections.IEnumerable’