Click here to Skip to main content
15,890,741 members
Home / Discussions / C#
   

C#

 
AnswerRe: Which Image Would Make A Better Splash Screen Background? Pin
Anthony Mushrow8-Jun-08 13:36
professionalAnthony Mushrow8-Jun-08 13:36 
Questionan other-other image processing Pin
Sajjad Izadi8-Jun-08 5:40
Sajjad Izadi8-Jun-08 5:40 
AnswerRe: an other-other image processing [modified] Pin
User 66588-Jun-08 6:40
User 66588-Jun-08 6:40 
GeneralRe: an other-other image processing Pin
Sajjad Izadi8-Jun-08 9:26
Sajjad Izadi8-Jun-08 9:26 
Questionssis package in C# Pin
Member 40084928-Jun-08 5:36
Member 40084928-Jun-08 5:36 
QuestionWhat is this advantage? Pin
ASysSolvers8-Jun-08 3:19
ASysSolvers8-Jun-08 3:19 
AnswerRe: What is this advantage? Pin
S. Senthil Kumar8-Jun-08 3:27
S. Senthil Kumar8-Jun-08 3:27 
QuestionPredicates and foreach Problem [modified] Pin
Jammer8-Jun-08 0:41
Jammer8-Jun-08 0:41 
Hi All,

I'm just using these for the first time in order to filter the contents of one List<string> based on the contents of a table retrieved via Linq ... The actual Predicate is working as I would expect it too but the foreach loop is 'breaking' and only executing once irrespective of how many records are in the Linq table. Any info or pointers would be great ... my method is shown below:

private static void FilterDirectoryList()
{
    _directoryFilterList = _context.GetTable<DirectoryBlockingList>();
    foreach (DirectoryBlockingList _blockdir in _directoryFilterList)
    {
        _filterString = _blockdir.DirectoryName;
        //Debug.WriteLine(_filterString);
        _directoryList.RemoveAll(delegate(string s)
        {
            //Debug.WriteLine(s + " " + s.Length.ToString());
            return string.Compare(s, 0, _filterString, 0, _filterString.Length) == 0;
        });

    }
}


Thanks in advance.

Jammer

Going where everyone here has gone before! Smile | :)
My Blog

modified on Sunday, June 8, 2008 7:34 AM

AnswerRe: Predicates and foreach Problem Pin
leppie8-Jun-08 1:20
leppie8-Jun-08 1:20 
GeneralRe: Predicates and foreach Problem Pin
Jammer8-Jun-08 1:22
Jammer8-Jun-08 1:22 
GeneralRe: Predicates and foreach Problem Pin
Jammer8-Jun-08 1:32
Jammer8-Jun-08 1:32 
GeneralRe: Predicates and foreach Problem [modified] Pin
Jammer8-Jun-08 2:31
Jammer8-Jun-08 2:31 
GeneralRe: Predicates and foreach Problem Pin
leppie8-Jun-08 2:48
leppie8-Jun-08 2:48 
QuestionApplications on Servers Pin
jonhbt7-Jun-08 22:50
jonhbt7-Jun-08 22:50 
AnswerRe: Applications on Servers Pin
Gareth H7-Jun-08 23:45
Gareth H7-Jun-08 23:45 
QuestionRe: Applications on Servers Pin
jonhbt7-Jun-08 23:59
jonhbt7-Jun-08 23:59 
AnswerRe: Applications on Servers Pin
Zoltan Balazs8-Jun-08 0:27
Zoltan Balazs8-Jun-08 0:27 
QuestionWhen do we have to use delegate in C#? Pin
Mohammad Dayyan7-Jun-08 22:46
Mohammad Dayyan7-Jun-08 22:46 
AnswerRe: When do we have to use delegate in C#? Pin
MarkB7777-Jun-08 23:44
MarkB7777-Jun-08 23:44 
GeneralRe: When do we have to use delegate in C#? Pin
Mohammad Dayyan8-Jun-08 0:52
Mohammad Dayyan8-Jun-08 0:52 
AnswerRe: When do we have to use delegate in C#? Pin
Zoltan Balazs8-Jun-08 0:31
Zoltan Balazs8-Jun-08 0:31 
GeneralRe: When do we have to use delegate in C#? Pin
Abdul Gafoor8-Jun-08 21:06
Abdul Gafoor8-Jun-08 21:06 
GeneralRe: When do we have to use delegate in C#? Pin
RobScripta8-Jun-08 21:24
professionalRobScripta8-Jun-08 21:24 
GeneralRe: When do we have to use delegate in C#? Pin
Abdul Gafoor8-Jun-08 23:12
Abdul Gafoor8-Jun-08 23:12 
Questiondeploying Release folder Pin
ASysSolvers7-Jun-08 22:06
ASysSolvers7-Jun-08 22:06 

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.