Difficulty Makes a Good Developer
Tuesday, March 11, 2014
Use of Array.Foreach() Method
string fileName ="abc#!.txt"; string specialChars = @"\/:*?""<>^|#%&{}~"; Array.ForEach(specialChars.ToCharArray(), specialChar => fileName = fileName.Replace(specialChar, ' '));
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Samir
Samir Balabantaray. I m working as a software Engineer from 2007.I have worked for ValleyInfosystems Pvt Ltd at Kolkata.Now i m working for Mahindra Satyam,Bangalore as a Sharepoint consoltant.
View my complete profile
Blog Archive
►
2016
(2)
►
June
(1)
►
May
(1)
►
2015
(2)
►
November
(1)
►
March
(1)
▼
2014
(11)
►
November
(2)
►
September
(1)
►
August
(2)
►
June
(2)
▼
March
(3)
Find out current user exists in an AD group or not
Use of Array.Foreach() Method
Make valid file name for Sharepoint
►
January
(1)
►
2013
(7)
►
November
(3)
►
October
(4)
►
2012
(11)
►
November
(2)
►
October
(3)
►
August
(1)
►
July
(2)
►
May
(2)
►
April
(1)
►
2011
(10)
►
November
(1)
►
October
(9)
►
2009
(7)
►
December
(1)
►
July
(2)
►
June
(1)
►
April
(2)
►
February
(1)
►
2008
(1)
►
April
(1)
No comments:
Post a Comment