Zuishin2017/04/24 14:07this を返すのではなく、this キーワードをつけた第一引数を持つ静的クラスの静的メソッドですね。 public static class Linq { public static void ForEach<T>(this IEnumerable<T> target, Action<T> action) { foreach (var item in target) action(item); } }
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/04/24 14:07
2017/04/24 14:15
2017/04/24 14:16
2017/04/24 14:19
2017/04/24 14:26
2017/04/24 14:46