TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mike Edds
NA
1
1.1k
Sorting ascending of anonymous list created from ToArray()?
Jul 9 2014 2:10 PM
var
datesList = (
from
w
in
Conferences
where
w.
Status
==
Completed
&& w.
EndDate
.HasValue
&& w.
EndDate
<=
Deadline
&& w.
EndDate
> MinimumDate
orderby
w.
EndDate
ascending
select
w.
EndDate
)
.Concat(
from
c
in
Tranings
where
c.
Status
==
Completed
&& c.
EndDate
.HasValue
&& c.
EndDate
<=
Deadline
&& c.
EndDate
> MinimumDate
orderby
c.
EndDate
ascending
select
c.
EndDate
)
.Concat(
from
t
in
Certifications
where
t.
TakingDate
<=
Deadline
&& t.
TrackingDate
> MinimumDate
orderby
t.
TakingDate
ascending
select
t.
TrackingDate
as
DateTime
?);
var
arrayDateList = datesList
as
DateTime
?[] ?? datesList.
ToArray
();
I need to do ascending sort of
arrayDateList.
Thanks in advance!!
Reply
Answers (
2
)
Regular Expression 20:27
insert data in sql table in C#