Interface in XNA on Windows Phone 7

Ok, it’s a teaser, the use of Interfaces is the same on Windows Phone 7 as it is in the other Microsoft products.  A group of related functionalities  are described via Interfaces and can belong to any class or struct.

Interfaces are made up of a combination of methods, properties, events,  or indexers.

The following cannot be included in an interface:

  • constants
  • fields
  • operators
  • instance constructors
  • destructors
  • types
  • static members
  • access modifers

If you need to memorize that list for some reason I use the following mnemonic:

  • codifast

Interfaces members are automatically public,