delegates/3/a.cs - A very simple class A with an instance method MethodA. | Lecture 6 - slide 8 : 20 Program 2 |
using System; public class A{ private int state; public A(int i){ state = i; } public void MethodA(string s){ Console.WriteLine("A: {0}, {1}", state, s); } }