public static int Send( [NotNull] this IEnumerable<Player> source, Packet packet ) { if( source == null ) throw new ArgumentNullException( "source" ); int i = 0; foreach( Player player in source ) { player.Send( packet ); i++; } return i; }