I have some C# files that were designed by people who do not work with me anymore.
Not all of the C# files contain a Main
method, though they build and execute.
Why is this the case?
Aside, the code has very few comments. I need to read the code to work out what it's doing. How can I do this more efficiently?
Come updates.
I used breakpoints to follow the control flow. But, I found that the flow went through some methods that do not have any meaningful definitions in some classes. For example,
class my Class
{
protected void function1()
{
}
protected void function12()
{
}
}
function1() is called and then the program exit from function12().
I cannot find the definations of these functions in VS.
Any help would be appreciated.
Thanks