Created
May 3, 2012 16:26
-
-
Save tnngo2/2586982 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Theory_9 | |
{ | |
class Parameters | |
{ | |
delegate void Display(string msg, int num); | |
static void Main(string[] args) | |
{ | |
Display objDisplay = delegate(string msg, int num) | |
{ | |
Console.WriteLine(msg + num); | |
}; | |
objDisplay("Alex : ", 80); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment