Problem in Inheritance
My Class Structure is Like This.

Class A
{
}

Class B:A<br/>{..}

    Class Demo
    {
    //Here Actual Parameter is instance of Class B. But in xyz function accepts
    //  parameter of type Class A. So in Below function can i get the Properties of 
    //Class A by using "((B)a).Property_Name", But i don want to specify the Name 
    //of Class B. So is ther any approach to meet my need.
    public void xyz(A a){ ....Here I Can i get }
    }
Problem in Inheritance
===

My Class Structure is Like This.

Class A
{
}

Class B:A<br/>{..}

    Class Demo
    {
    //Here Actual Parameter is instance of Class B. But in xyz function accepts
    //  parameter of type Class A. So in Below function can i get the Properties of 
    //Class A by using "((B)a).Property_Name", But i don want to specify the Name 
    //of Class B. So is ther any approach to meet my need.
    public void xyz(A a){ ....Here I Can i get }
    }