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

 Posted by Rajeshatkiit on 12/22/2015 | Category: C# Interview questions | Views: 1543 | Points: 40
Select from following answers:
  1. public class ShopList : IEnumerator, IEnumerable { // Class implementation }
  2. public class ShopList : IBindingList { // Class implementation }
  3. public class ShopList : IDictionary { // Class implementation }
  4. public class ShopList : ICollection { // Class implementation }
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response