Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem Sorting List
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Problem Sorting List
Miscellaneous
Thread ID:
01468908
Message ID:
01468908
Views:
110
I have loaded a list with Windows Services:
public static List<ServiceController> GetAllServices()
{
    ServiceController[] Temp = ServiceController.GetServices();
    List<ServiceController> Services = new List<ServiceController>(Temp);
    Services.Sort();

    return Services;
}
The Sort line throws the error "Failed to compare two elements in the array." Google hits are obscure on this. Anyone know what this is about?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform