Bits and Pieces
Thursday, 17 May 2018
Directory.GetFiles () Order By Date
using
System.
Linq
;
DirectoryInfo info
=
new
DirectoryInfo
(
""
)
;
FileInfo
[
]
files
=
info.
GetFiles
(
)
.
OrderBy
(
p
=>
p.
CreationTime
)
.
ToArray
(
)
;
foreach
(
FileInfo file
in
files
)
{
// DO Something...
}
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2024
(28)
►
October
(16)
►
June
(12)
►
2023
(55)
►
May
(1)
►
February
(39)
►
January
(15)
►
2022
(51)
►
September
(10)
►
May
(35)
►
April
(6)
►
2020
(96)
►
November
(23)
►
July
(6)
►
June
(11)
►
May
(52)
►
March
(4)
►
2019
(79)
►
December
(57)
►
October
(1)
►
July
(21)
▼
2018
(30)
►
September
(2)
▼
May
(7)
Powershell export CSV list from files and folders ...
Disable SIP ALG in Cisco 1800 Series Router
Batch file rename with random alphanumeric
Directory.GetFiles () Order By Date
How to execute ImageMagick to convert only the fir...
Process.Start Method
Extract Pages From a PDF
►
April
(11)
►
February
(2)
►
January
(8)
►
2017
(142)
►
December
(16)
►
November
(4)
►
October
(10)
►
September
(53)
►
July
(13)
►
June
(45)
►
March
(1)
►
2016
(3)
►
April
(3)
►
2015
(10)
►
October
(1)
►
September
(1)
►
August
(1)
►
July
(7)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.