using System;
class Test{
static void Main(){
new Test().test();
}
void test(){
f("aa");
f_ = delegate(String s) { };
f("bb");
}
public Action<String> f { get { return f_; } }
private Action<String> f_ = delegate(String s){
Console.WriteLine(s);
};
}
CnVzaW5nIFN5c3RlbTsKCmNsYXNzIFRlc3R7CiAgIHN0YXRpYyB2b2lkIE1haW4oKXsKICAgICAgIG5ldyBUZXN0KCkudGVzdCgpOwogICB9CiAgIHZvaWQgdGVzdCgpewogICAgICAgZigiYWEiKTsKICAgICAgIGZfID0gZGVsZWdhdGUoU3RyaW5nIHMpIHsgfTsKICAgICAgIGYoImJiIik7CiAgIH0KCiAgIHB1YmxpYyBBY3Rpb248U3RyaW5nPiBmIHsgZ2V0IHsgcmV0dXJuIGZfOyB9IH0KICAgcHJpdmF0ZSBBY3Rpb248U3RyaW5nPiBmXyA9IGRlbGVnYXRlKFN0cmluZyBzKXsKICAgICAgIENvbnNvbGUuV3JpdGVMaW5lKHMpOwogICB9Owp9