| | |
How to sort a List of FileInfo just like in a Windows folder? (Same sort Function)
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Dec 2008
Posts: 1
Reputation:
Solved Threads: 0
How to sort a List of FileInfo just like in a Windows folder? (Same sort Function)
0
#1 Dec 11th, 2008
How to sort a List of FileInfo(in C#.NET) just like in a Windows folder? (Same sort
function)
For eg. consider a set of files
b (1).txt
b.txt
b (2).txt
In Windows if we arrange by name the output will be
b.txt
b (1).txt
b (2).txt
When I used FileInfo the list contained files as
b (1).txt
b (2).txt
b.txt
I want it to be sorted as in Windows
Please Help me...
function)
For eg. consider a set of files
b (1).txt
b.txt
b (2).txt
In Windows if we arrange by name the output will be
b.txt
b (1).txt
b (2).txt
When I used FileInfo the list contained files as
b (1).txt
b (2).txt
b.txt
I want it to be sorted as in Windows
Please Help me...
•
•
Join Date: Aug 2008
Posts: 1,735
Reputation:
Solved Threads: 186
Re: How to sort a List of FileInfo just like in a Windows folder? (Same sort Function)
0
#2 Dec 11th, 2008
![]() |
Other Threads in the C# Forum
- Previous Thread: openin more forms C#
- Next Thread: Convert VB6 App to C#
| Thread Tools | Search this Thread |
.net access algorithm array barchart bitmap box broadcast c# check checkbox client combobox control conversion csharp custom cyclethruopenforms data database datagrid datagridview dataset date/time datetime degrees development dll draganddrop drawing encryption enum excel file filename finalyearproject form format forms function gdi+ getoutlookcontactusinfcsvfile gis globalization gtk image index input install installer java label list listbox mandelbrot math mono mouseclick mysql operator panel path photoshop picturebox pixelinversion post programming radians regex remoting richtextbox save server silverlight sleep socket sql sql-server statistics stream string table text textbox thread time timer timespan update usercontrol users validate validation visualstudio webbrowser wia windows winforms wpf xml






