ValidateRequestmethod defined in code
private bool ValidateRequest()
{
return _doc != null;
}
This method is called externally, I want to check if _doc is null. This method was used 5 times in the cs file.
Performance point of view, it is advisable to define a method with only one line? I think that before calling this method, everything from the called will be pushed onto the stack even after it is pulled from the stack.
Any thoughts?
=== Edit ====
I am using .NET version 3.5
source
share