Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#Actualphil_t

Posted 20 June 2013 - 01:07 PM

C# also supports this when a class inherits from interfaces that have the same methods (e.g. IEnumerator GetEnumerator() and IEnumerator<T> GetEnumerator(), when something inherits from IEnumerable and IEnumerable<T>) . You have to cast to go through the interface before you make the method call.


#1phil_t

Posted 20 June 2013 - 12:02 PM

C# also supports this when a class inherits from interfaces that have the same methods (e.g. IEnumerator GetEnumerator() and IEnumerator<T>.GetEnumerator(), when something inherits from IEnumerable<T> and IEnumerable) . You have to cast to go through the interface before you make the method call.


PARTNERS