Assinging the parent class to child class this is called downcasting.
public class Class1
{
public string getValue()
{
return "sd";
}
}
public class class3 : Class1
{
public string GetValue1()
{
class3 cl =(class3) new Class1();
return cl.getValue();
}
}