Hi,
List
t.Add(new MyClass() { name = "Bob", age = 36, country = "Spain" });
...
t.Sort();
This doesn' work. How can i do that? Can i sort according any field?
Thanks
V.
Hi,
List
t.Add(new MyClass() { name = "Bob", age = 36, country = "Spain" });
...
t.Sort();
This doesn' work. How can i do that? Can i sort according any field?
Thanks
V.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaydeep PatilPosted Aug 20, 2022, 4:25 AM
Valerie MeunierPosted Aug 21, 2022, 9:00 AM