Navigation
Home

Login

How

Why

Who

Thanks


Start Bookmarking

Search Tags

 

 


What's Buzzing

 

What's News

 

What's News + Buzzing

 

Disclaimers

© Copyright OTD 2005, All Rights Reserved

Design by Smallpark

 

Tag Directory > Netlist


We have 2 results for Netlist.

Dictionary Performance

1 Citation
I tested performances of these classes :A) Key-value keepers- Dictionary- SortedDictionary- SortedListB) Value keepers- List- HashSet- List (Sorted and binary searched)I inserted a number of random numbers to these classes and searched for numbers afterwards.Below results show the average of 100 tests.Item Count510501001,00010,000OperationInsert (µs)Search (µs)Insert (µs)Search (µs)Insert (µs)Search (µs)Insert (µs)Search (µs)Insert (µs)Search (µs)Insert (µs)Search (µs)Key-Value Holders(string -, technorati.com

 

C# Get All Files from a Folder

1 Citation
List all files from a folder using C# / List all files from folder and its subdirectories using C#The following code lists all the files from the specifed folder and its sub foldersTo list all Excel files using C#, modify the first argument to ?*.xls? private static void GetFilesFromDirectory(string DirPath) { try { DirectoryInfo Dir = new DirectoryInfo(DirPath); FileInfo FileList = Dir.GetFiles("*.*", SearchOption.AllDirectories ); foreach (FileInfo FI in FileList ) { Console.WriteLine(FI.Fu, technorati.com

 


Powered by Odin Assemble