Inle Choices
Answer (Choose 1 answer)
delegate void CallBack(string s):
class Program{public event CallBack evt:
static void Main(){
Program p = new Program():p.evt += delegate (string s){
Console.Write(s):
}:p.evt += delegate{
Console.WriteLine("C#");};
p.evt(".NET");Console.ReadLine():
}
} The output will be:
A. NETC#
B. C#.NET
C. C#
D.NET
37