¡@

Home 

c# Programming Glossary: ismartanimal

How to tell which interface is returned by a method

http://stackoverflow.com/questions/9063131/how-to-tell-which-interface-is-returned-by-a-method

dog.ThinkHarder Does not compile. if dog is returned as ISmartAnimal What to put here ISmartAnimal dog .Think Compiles runs but shouldn't... if dog is returned as ISmartAnimal What to put here ISmartAnimal dog .Think Compiles runs but shouldn't. reportTypeProperties.. dog interface IAnimal string Name get set interface ISmartAnimal IAnimal void Think class Animal IAnimal ISmartAnimal public..