Click here to Skip to main content
15,898,952 members
Home / Discussions / C#
   

C#

 
GeneralRe: Socket Exception:{"An existing connection was forcibly closed by the remote host"} Pin
haroon198026-Jun-07 5:36
haroon198026-Jun-07 5:36 
GeneralRe: Socket Exception:{"An existing connection was forcibly closed by the remote host"} Pin
led mike26-Jun-07 5:52
led mike26-Jun-07 5:52 
GeneralRe: Socket Exception:{"An existing connection was forcibly closed by the remote host"} Pin
haroon198026-Jun-07 5:54
haroon198026-Jun-07 5:54 
AnswerRe: Socket Exception:{"An existing connection was forcibly closed by the remote host"} Pin
LongRange.Shooter26-Jun-07 9:52
LongRange.Shooter26-Jun-07 9:52 
GeneralRe: How to implement a syntax checker using C# ? Pin
I.explore.code26-Jun-07 3:58
I.explore.code26-Jun-07 3:58 
Questionmy previous button is working as a next button Pin
srinivassam26-Jun-07 3:50
srinivassam26-Jun-07 3:50 
AnswerRe: my previous button is working as a next button Pin
Luc Pattyn26-Jun-07 4:24
sitebuilderLuc Pattyn26-Jun-07 4:24 
QuestionExists() method of System.Collections.Generic.List Pin
lossy26-Jun-07 3:28
lossy26-Jun-07 3:28 
I have the following list:
System.Collections.Generic.List<Employee> employees= new System.Collections.Generic.List<Employee>();

Employee class has the following fields(for simplicity):
EmployeeId
EmployeeName
Department
JobTitle
etc.

I want that the new employee instance can be added employees list only if the list does not already contain it. I think the Exists() method may be used for this checking. But i dont know how use it.

Kindly, give me articles' and examples' links to understand the usage.

Thanks!.
AnswerRe: Exists() method of System.Collections.Generic.List Pin
Giorgi Dalakishvili26-Jun-07 3:38
mentorGiorgi Dalakishvili26-Jun-07 3:38 
GeneralRe: Exists() method of System.Collections.Generic.List Pin
lossy26-Jun-07 3:48
lossy26-Jun-07 3:48 
AnswerRe: Exists() method of System.Collections.Generic.List Pin
Colin Angus Mackay26-Jun-07 3:41
Colin Angus Mackay26-Jun-07 3:41 
GeneralRe: Exists() method of System.Collections.Generic.List Pin
lossy26-Jun-07 3:52
lossy26-Jun-07 3:52 
GeneralRe: Exists() method of System.Collections.Generic.List Pin
Colin Angus Mackay26-Jun-07 4:02
Colin Angus Mackay26-Jun-07 4:02 
AnswerRe: Exists() method of System.Collections.Generic.List Pin
Nissim Salomon26-Jun-07 4:50
Nissim Salomon26-Jun-07 4:50 
GeneralRe: Exists() method of System.Collections.Generic.List Pin
lossy26-Jun-07 6:53
lossy26-Jun-07 6:53 
QuestionCreating object stops execution of entire function Pin
__DanC__26-Jun-07 3:01
__DanC__26-Jun-07 3:01 
AnswerRe: Creating object stops execution of entire function Pin
I.explore.code26-Jun-07 3:47
I.explore.code26-Jun-07 3:47 
GeneralRe: Creating object stops execution of entire function Pin
__DanC__26-Jun-07 3:53
__DanC__26-Jun-07 3:53 
GeneralRe: Creating object stops execution of entire function Pin
Luc Pattyn26-Jun-07 4:34
sitebuilderLuc Pattyn26-Jun-07 4:34 
GeneralRe: Creating object stops execution of entire function Pin
__DanC__26-Jun-07 4:46
__DanC__26-Jun-07 4:46 
GeneralRe: Creating object stops execution of entire function Pin
Nissim Salomon26-Jun-07 4:59
Nissim Salomon26-Jun-07 4:59 
GeneralRe: Creating object stops execution of entire function Pin
__DanC__26-Jun-07 5:01
__DanC__26-Jun-07 5:01 
GeneralRe: Creating object stops execution of entire function Pin
Nissim Salomon26-Jun-07 5:15
Nissim Salomon26-Jun-07 5:15 
GeneralRe: Creating object stops execution of entire function Pin
__DanC__26-Jun-07 5:16
__DanC__26-Jun-07 5:16 
GeneralRe: Creating object stops execution of entire function Pin
Nissim Salomon26-Jun-07 5:21
Nissim Salomon26-Jun-07 5:21 

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.