using System;
class parent
{
public void par()
{
C.WL("hello parent");
}
}
class child:parent
{
public void chil()
{
C.WL("hello Child");
}
}
this type i have 50class
and if i want call this all class then i have to create Class instance if i have 500 class then again i have to create 500 class instance then what is code reuse..? i have doubt. help me
i don't want call n time i want create one object and call this all class object how please help me..