> Hi,
>
> I am facing a strange problem, please take a look at the code below:
It really helps us to help you if you post real code. Below is some
real code which is the result of me attempting to deduce what you
meant:
using System;
namespace ConsoleApplication4
{
class Class1
{
[STAThread]
static void Main(string[] args)
{
SaveTree t = new SaveSingleTree();
Console.ReadLine();
}
}
public class SaveTree
{
public SaveTree()
{
//some code
Initranges();
}
protected virtual void Initranges()
{
//some code
}
}
public class SaveSingleTree: SaveTree
{
//constructor not being overridden
protected override void Initranges()
{
}
}
}
> Now, when i do something like this:
>
[quoted text clipped - 8 lines]
> function is called internally by the constructor of the base class and
> the constructor is NOT being overridden by the derived class.
The code above matches this description and performs without error or
exception.
> Anyone have any idea what am i doing wrong? can i invoke a virtual
> function from inside a constructor?
Show us your code.

Signature
Larry Lard
Replies to group please