wcf help in casting base classes
    I have a problem in casting a class in w c f :
    i have 
    abstract class A
    abstract class B : A
    class C : B
    all can be serialized.
    a have known type attribute which calls a method that finds all the types in a directory that are subclass of A 
    the contract looks like:
    void test(A data)
    on the server side 
    when i try to cast data to A i get an cast execption.
    when i try to cast the class without w c f it work
wcf help in casting base classes
===

    I have a problem in casting a class in w c f :
    i have 
    abstract class A
    abstract class B : A
    class C : B
    all can be serialized.
    a have known type attribute which calls a method that finds all the types in a directory that are subclass of A 
    the contract looks like:
    void test(A data)
    on the server side 
    when i try to cast data to A i get an cast execption.
    when i try to cast the class without w c f it work