¡@

Home 

c# Programming Glossary: acontainer

Explicit Casting Problem

http://stackoverflow.com/questions/1443341/explicit-casting-problem

interface IContainer TItem where TItem IItem public class AContainer IContainer ItemA public interface IItem public class ItemA IItem.. app Test public void Test IContainer IItem container new AContainer Question In test the following error occures. What can be the.. the solution for casting Cannot implicitly convert type 'AContainer' to 'IContainer'. An explicit conversion exists are you missing..

Who Disposes of an IDisposable public property?

http://stackoverflow.com/questions/674879/who-disposes-of-an-idisposable-public-property

important disposal work. And I have another class called AContainer which has an instance of SomeDisposableObject as a public property.. of SomeDisposableObject as a public property class AContainer SomeDisposableObject m_someObject new SomeDisposableObject public.. set m_someObject value Then FxCop will insist that AContainer is also made IDisposable . Which is fine but I can't see how..