Click here to Skip to main content
16,004,452 members
Home / Discussions / C#
   

C#

 
AnswerRe: Static & Dynamic Polymorphism : distinguished in C# Pin
Pete O'Hanlon17-Jan-13 3:46
mvePete O'Hanlon17-Jan-13 3:46 
QuestionComposition implementation in C# Pin
Member 883921917-Jan-13 3:23
Member 883921917-Jan-13 3:23 
QuestionRe: Composition implementation in C# Pin
Eddy Vluggen17-Jan-13 3:30
professionalEddy Vluggen17-Jan-13 3:30 
QuestionImplementation of Encapsulation & inheritance in c# Pin
Member 883921917-Jan-13 2:55
Member 883921917-Jan-13 2:55 
AnswerRe: Implementation of Encapsulation & inheritance in c# Pin
Pete O'Hanlon17-Jan-13 3:02
mvePete O'Hanlon17-Jan-13 3:02 
Questionhow to send sms in windows application? Pin
kiran murkal16-Jan-13 23:57
kiran murkal16-Jan-13 23:57 
AnswerRe: how to send sms in windows application? Pin
Pete O'Hanlon17-Jan-13 0:10
mvePete O'Hanlon17-Jan-13 0:10 
AnswerRe: how to send sms in windows application? Pin
Simon_Whale17-Jan-13 0:10
Simon_Whale17-Jan-13 0:10 
QuestionI need a help Pin
Bire50t16-Jan-13 21:25
Bire50t16-Jan-13 21:25 
SuggestionRe: I need a help Pin
Eddy Vluggen17-Jan-13 0:32
professionalEddy Vluggen17-Jan-13 0:32 
GeneralRe: I need a help Pin
Pete O'Hanlon17-Jan-13 1:03
mvePete O'Hanlon17-Jan-13 1:03 
GeneralRe: I need a help Pin
Bire50t17-Jan-13 19:18
Bire50t17-Jan-13 19:18 
AnswerRe: I need a help Pin
Eddy Vluggen18-Jan-13 1:19
professionalEddy Vluggen18-Jan-13 1:19 
GeneralRe: I need a help Pin
Bire50t17-Jan-13 19:21
Bire50t17-Jan-13 19:21 
QuestionHi Pin
Bire50t16-Jan-13 21:19
Bire50t16-Jan-13 21:19 
SuggestionRe: Hi Pin
Richard MacCutchan16-Jan-13 23:38
mveRichard MacCutchan16-Jan-13 23:38 
GeneralRe: Hi Pin
Bire50t17-Jan-13 19:26
Bire50t17-Jan-13 19:26 
GeneralRe: Hi Pin
Richard MacCutchan17-Jan-13 22:56
mveRichard MacCutchan17-Jan-13 22:56 
Questionneed a help Pin
helibell16-Jan-13 20:22
helibell16-Jan-13 20:22 
AnswerRe: need a help Pin
dan!sh 16-Jan-13 20:26
professional dan!sh 16-Jan-13 20:26 
QuestionRe: need a help Pin
helibell16-Jan-13 20:35
helibell16-Jan-13 20:35 
AnswerRe: need a help Pin
dan!sh 16-Jan-13 20:47
professional dan!sh 16-Jan-13 20:47 
QuestionRe: need a help Pin
helibell16-Jan-13 21:08
helibell16-Jan-13 21:08 
AnswerRe: need a help Pin
Bire50t16-Jan-13 21:57
Bire50t16-Jan-13 21:57 
QuestionC# use linq for on filename Pin
dcof16-Jan-13 19:24
dcof16-Jan-13 19:24 
In a C# 2008 desktop application, I can using the following statement to select error reports that are displayed on excel spreadsheets:
string[] excelFiles = Directory.GetFiles(strFullpath, "*ErrorReport.xlsx")
                           .Select(path => Path.GetFileName(path))
                           .ToArray(); 

Due to the above, I have the following questions:
1. if I want to change the statement to select either "*bErrorReport.xlsx" or "*dErrorReport.xlsx" or "*ErrorReport.xlsx",
how would I change the statement I just displayed?
2. The above statement picks 3 excel spreadsheets and there are really only two excel spreadsheets. The excelspreadshets that are valid
include:
customer_number_bErrorReport.xlsx,
and customer_number_ErrorReport.xlsx.

The invalid value that is selected is
~customer_number_bErrorReport.xlsx.

Can you show me the code, so an invalid spreadsheet called ~customer_number_bErrorReport.xlsx is not selected?

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.