How to convert IEnumerable to ReadOnlyCollection in C#
Introduction: In this blog we will see how to Convert IEnumerable to ReadOnlyCollection in C#. What is IEnumerable in C#? All non-generic collections that can be enumerated use IEnumerable as their underlying interface. GetEnumerator, the only method in it, returns an IEnumerator. IEnumera...