stillinlife101
Programmer
I want to write a series of namespaces and classes that look something like this:
namespace a
{
class a
{
public int DoSomething()
{
}
}
namespace b
{
class b:a
{
public int DoSomethingAlso()
{
}
}
}
}
and then be able to declare something as such:
a.b NewVar = new a.b();
NewVar.DoSomething();
NewVar.DoSomethingAlso();
Is something like that possible, and if so, could somebody give me a template? Thanks,
Dan
namespace a
{
class a
{
public int DoSomething()
{
}
}
namespace b
{
class b:a
{
public int DoSomethingAlso()
{
}
}
}
}
and then be able to declare something as such:
a.b NewVar = new a.b();
NewVar.DoSomething();
NewVar.DoSomethingAlso();
Is something like that possible, and if so, could somebody give me a template? Thanks,
Dan