bool retVal = false; // this.MyMethodB() will never execute because of the fact // that retVal is already false. retVal = retVal && this.MyMethodB();so, I guess you need a different example to explain your problem.
> >public class MyClass >{ > public bool MyMethodA() > { > bool retVal = false; > //Do Soemthing > > retVal = retVal && this.MethodB(); > return retVal; > } > > public bool MyMethodB() > { > bool retVal = false; > //Do Something > retVal = 1 + 1 > 0; //Example > > if (retVal) // Weird > { > retVal = 2 + 2 > 0; // Example > } > > return retVal; > } >} >>