Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# remove invalid directory characters

public string ReplaceInvalidChars(string filename)
{
    return string.Join("_", filename.Split(Path.GetInvalidFileNameChars()));    
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: linq map array 
Csharp :: c# read excel file using epplus save to datatable 
Csharp :: even configuration custom errors page is not working asp.net MVC 
Csharp :: select specific columns from datatable in c# using lambda 
Csharp :: ASP.net ApplicationUser referance not found 
Csharp :: C# Blocks with statements 
Csharp :: C# one line method 
Csharp :: How do I allow edit only a particular column in datagridview in windows application 
Csharp :: c# merge two lists as queryable 
Csharp :: docker Test a Connection using Curl 
Csharp :: unity inspector draw line 
Csharp :: conncet oracle database in c# visual studio 
Csharp :: how to check url has parameter in c# 
Csharp :: linq select max value from list 
Csharp :: unity line renderer opacity 
Csharp :: how to fade c# form 
Csharp :: how to download somthing from one drive unity 
Csharp :: convert list to datatable c# 
Csharp :: string is int f# 
Csharp :: c# mock ref parameter 
Csharp :: rgb to console color 
Csharp :: c# listview add items horizontally 
Csharp :: c# read huge file 
Csharp :: console writeline 
Csharp :: selenum wait for element c# 
Csharp :: c# textbox kodu 
Csharp :: hashtable in c# 
Csharp :: generic interface c# 
Csharp :: using statement c# 
Csharp :: unity read console log 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =