You have recently developed a Class named “ShopList”. The class is having Public properties Name, ID, Discount. You need to enable the users of the class to iterate through the ShopList collections. Which of the following code snippet will you use?
a. public class ShopList : IEnumerator, IEnumerable { // Class implementation }
b. public class ShopList : IBindingList { // Class implementation }
c. public class ShopList : IDictionary { // Class implementation }
d. public class ShopList : ICollection { // Class implementation }