Hi
I am using C# and my class declaration is like this
namespace UnitTestCaseTool
{
/// <summary>
/// Summary description for RuleParser.
/// </summary>
public class RuleParser
{
public RuleParser()
{
private Object NextItem;
RuleParser RulesProperties;
}
private RuleXMLParser CreateNextNode(RuleXMLParser RulesProperties)
{
step-1: RulesProperties.NextItem = new RuleXMLParser();
step-2: RulesProperties =(RuleXMLParser) RulesProperties.NextItem;
}
}
}
Here my concern is In my first step-1: when I am calling
CreateNextNode function, it is creating new Ruleparser class Object is
it ?
If yes then what I am doing in the Second Step.
i doubt, am i implementing Linked List with Self referential Class ?
Can any body help me.