private static IEnumerable<MessageQueueInfo> get_info(MessageQueue[] queues) { queues.OrderBy(q => q.QueueName); return queues.Select(queue => new MessageQueueInfo(queue)).ToList(); }