If you write a class and make it implement IEnumerable<out T>
, you will find one method is implicit, while the other is an explicit. But our own interfaces cannot do that, so how to make our own interfaces (some methods are implicit and some explicit?)
The detailled steps are:
1) Create a class.
2) Make the class implement from "IEnumerable".
3) Choose "Implicit From the interface".
For step 3, you will find that two methods are generated:
I wonder to know:
1) Why when I choose choice 1, one method is implicit while the other is exclipit?
2) What can I do to make the Vs's intellisens act the same result, what kinds of interfaces can I define? Can you give me some samples?
Regurads!