Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# count files in directory and subdirectories

var countFiles = System.IO.Directory.GetFiles(sourcePath, "*.*", SearchOption.AllDirectories).Count();
Comment

c# count directories in directory and subdirectories

var countDirectories = System.IO.Directory.GetDirectories(sourcePath, "*", SearchOption.AllDirectories).Count();
Comment

PREVIOUS NEXT
Code Example
Csharp :: get max enum value c# 
Csharp :: split with multiple delimiters c# 
Csharp :: Type is not marked as serializable. 
Csharp :: c# serialize json 
Csharp :: unity application quit 
Csharp :: how to disable a gameObject unity c# 
Csharp :: C# get all child classes of a class 
Csharp :: unity run void from another script 
Csharp :: c# initialize dictionary 
Csharp :: check last character of a string c# 
Csharp :: wpf close application 
Csharp :: how to move mouse in game c# 
Csharp :: how to make a method wait in unity 
Csharp :: c# how to delete a file 
Csharp :: c# remove last value from list 
Csharp :: set text in center wpf 
Csharp :: how to exit application c# console 
Csharp :: unity get gameobject script is attached to 
Csharp :: swagger authentication bearer .net core 
Csharp :: c# press key 
Csharp :: get the path of executable c# 
Csharp :: c# get current milliseconds 
Csharp :: c# connection string 
Csharp :: assign datasource to dropdownlist in c# 
Csharp :: game object disapear after transform.position 
Csharp :: unity get velocity of gameobject 
Csharp :: unity c# addition class 
Csharp :: unity agent walks in place at start 
Csharp :: how to make a partical system to destroy itself after it finishing 
Csharp :: unity 3d sound 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =