Click here to Skip to main content
15,879,326 members
Home / Discussions / C#
   

C#

 
AnswerRe: Removing '\' character from string. Pin
Eddy Vluggen11-Jul-16 23:55
professionalEddy Vluggen11-Jul-16 23:55 
QuestionWhat can be wrong with my code I can't Log In VS2015 Pin
Member 1228884011-Jul-16 7:27
Member 1228884011-Jul-16 7:27 
AnswerRe: What can be wrong with my code I can't Log In VS2015 Pin
Eddy Vluggen11-Jul-16 7:46
professionalEddy Vluggen11-Jul-16 7:46 
AnswerRe: What can be wrong with my code I can't Log In VS2015 Pin
Richard Deeming11-Jul-16 7:47
mveRichard Deeming11-Jul-16 7:47 
AnswerRe: What can be wrong with my code I can't Log In VS2015 Pin
Dave Kreskowiak12-Jul-16 2:45
mveDave Kreskowiak12-Jul-16 2:45 
AnswerMessage Closed Pin
12-Jul-16 7:50
Member 1228884012-Jul-16 7:50 
GeneralRe: What can be wrong with my code I can't Log In VS2015 Pin
Eddy Vluggen12-Jul-16 10:31
professionalEddy Vluggen12-Jul-16 10:31 
Questionlist subdirectories with specific names Pin
MrKBA10-Jul-16 22:49
MrKBA10-Jul-16 22:49 
Hi,
I have to get list of subdirectoris in parent folder ("A_ParentDir") which have names in format "vX.XX" where X is numeric.
Example : I have folder A_ParentDir which contains list of directories as below :
v3.20
v4.56
v8.1
v5.60a
v6.00v6.00

so I should have only :
v3.20
v4.56

I tried as below but I have also the last one in result
v3.20
v4.56
v6.00v6.00 // this shouldn't be
C#
string strreg = @"v\d{1}\.{1}\d{2}$";

arrVersionsDirectories = Directory.GetDirectories(A_ParentDir)
.Where(path => Regex.IsMatch(path, strreg))
.ToList();

thank for help
AnswerRe: list subdirectories with specific names Pin
OriginalGriff10-Jul-16 23:14
mveOriginalGriff10-Jul-16 23:14 
PraiseRe: list subdirectories with specific names Pin
MrKBA10-Jul-16 23:19
MrKBA10-Jul-16 23:19 
GeneralRe: list subdirectories with specific names Pin
OriginalGriff10-Jul-16 23:24
mveOriginalGriff10-Jul-16 23:24 
AnswerRe: list subdirectories with specific names Pin
OriginalGriff10-Jul-16 23:24
mveOriginalGriff10-Jul-16 23:24 
QuestionThe name 'Beeper' does not exist in the current context Pin
Member 1224497210-Jul-16 20:03
Member 1224497210-Jul-16 20:03 
AnswerRe: The name 'Beeper' does not exist in the current context Pin
Kornfeld Eliyahu Peter10-Jul-16 20:31
professionalKornfeld Eliyahu Peter10-Jul-16 20:31 
GeneralRe: The name 'Beeper' does not exist in the current context Pin
Member 1224497210-Jul-16 20:53
Member 1224497210-Jul-16 20:53 
AnswerRe: The name 'Beeper' does not exist in the current context Pin
Kornfeld Eliyahu Peter10-Jul-16 20:58
professionalKornfeld Eliyahu Peter10-Jul-16 20:58 
GeneralRe: The name 'Beeper' does not exist in the current context Pin
Member 1224497210-Jul-16 22:05
Member 1224497210-Jul-16 22:05 
GeneralRe: The name 'Beeper' does not exist in the current context Pin
F-ES Sitecore10-Jul-16 22:38
professionalF-ES Sitecore10-Jul-16 22:38 
GeneralRe: The name 'Beeper' does not exist in the current context Pin
Richard MacCutchan10-Jul-16 22:49
mveRichard MacCutchan10-Jul-16 22:49 
GeneralRe: The name 'Beeper' does not exist in the current context Pin
Member 1224497211-Jul-16 1:21
Member 1224497211-Jul-16 1:21 
GeneralRe: The name 'Beeper' does not exist in the current context Pin
Richard MacCutchan11-Jul-16 1:59
mveRichard MacCutchan11-Jul-16 1:59 
GeneralRe: The name 'Beeper' does not exist in the current context Pin
Member 1224497211-Jul-16 2:43
Member 1224497211-Jul-16 2:43 
GeneralRe: The name 'Beeper' does not exist in the current context Pin
Richard MacCutchan11-Jul-16 3:07
mveRichard MacCutchan11-Jul-16 3:07 
GeneralRe: The name 'Beeper' does not exist in the current context Pin
Member 1224497211-Jul-16 4:09
Member 1224497211-Jul-16 4:09 
QuestionHow to read .sol files using C# ? Pin
Member 1132696310-Jul-16 12:55
Member 1132696310-Jul-16 12:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.