In a yield return statement, expression is evaluated and returned as a value to the enumerator object; expression has to be implicitly convertible to the yield type of the iterator. The yield statement can only appear inside an iterator block, which can be implemented as the body of a method, operator, or accessor. The bodyContinue reading “How to use Yield Return”
Author Archives: Nirbhay
Substitution Control
How you can use SubstitutionControl in Asp.net? Use the Substitution control to specify a section of an output-cached Web page where you want to display dynamic content. The Substitution control offers a simplified solution to partial page caching for pages where the majority of the content is cached. You can output-cache the entire page, andContinue reading “Substitution Control”