私はこのコードを持っています:
class SomeClass {
void someFunction()
{
Action<string> myAction = (what)=>
{
//whatever
}
new List<string>().ForEach(myAction);
}
}
myAction
内部のコードを別のメンバー関数に抽出したいと思います。
それ、どうやったら出来るの?