using System; using System.Collections.Generic; using System.Text; public delegate string mydel(int number); class Program { static void Main(string[] args) { MyClass obj1 = new MyClass(10); MyClass obj2 = new MyClass(20); mydel del1 = obj1.myfunc; // I don't understand these 2 lines mydel del2 = obj2.myfunc; Console.WriteLine(del1(50)); Console.WriteLine(del2(20)); } } public class MyClass { int x; public MyClass(int x1) { x = x1; } public string myfunc(int n) { return (n * x).ToString(); } }