G
Greg
Is it possible to call a constructor from within a
constructor
I mean
Class A
{
public A(string getModifiedVal)
{
.........
}
}
Class B
{
public B()
{
//Do some processing to get modifiedValue
A(modifiedValue); // I know this doesn't work
//but is there a way to do it
}
}
constructor
I mean
Class A
{
public A(string getModifiedVal)
{
.........
}
}
Class B
{
public B()
{
//Do some processing to get modifiedValue
A(modifiedValue); // I know this doesn't work
//but is there a way to do it
}
}