Wednesday, August 5, 2009

How to Use delegate in side

Simple we can say delegate is a variable which holds methods instead of members. We are writing an application which will display either “Good Morning” or “Good Night” according to value entered. (0-12:- “Good Morning” otherwise “Good night”)

        delegate string ReturnString(); // Declare this in top

Post a Comment