Showing posts with label Interface. Show all posts
Showing posts with label Interface. Show all posts

Friday, February 17, 2012

An Interface is a Value type or reference type?

Select from following answers:
  1. Value Type
  2. Reference Type
  3. Vaule type or reference type
  4. both

Because , Interface is a Contract, When we design Interface and implement it in other object , that object will implement this. So, when a struct implement an interface ,that time it is value type and in case of class it is reference type.