Back to slide -- Keyboard shortcut: 'u'  previous -- Keyboard shortcut: 'p'  next -- Keyboard shortcut: 'n'  Annotated program -- Keyboard shortcut: 't'    delegates/4/a.cs - A simple class A.Lecture 6 - slide 9 : 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);
  }   
}