c# method with several functions

オフライン
Hi there, I am trying to make a recursive method in c# to process some relationships in my product structure which is based on several itemTypes. To do this I made different functions which are first called from a main. The only way I found to get the compiler to stop complain about CS0161 is to start the method like this:
return this;
}
public Item main()
{
Innovator inn = this.getInnovator();
etc.
and to remove the last } at the end of the method (I put the main first, then the functions, so I removed the } of the last function) But now I can see (with the help of visual studio) that my method is not running at all, it ends at the first } (the second line of the method). Is someone experienced with c# functions into Aras methods?
Parents Reply Children
No Data