Click here to Skip to main content
15,878,852 members
Home / Discussions / C#
   

C#

 
AnswerRe: Would you use a custom enumerator? Pin
BobJanova29-Oct-12 0:32
BobJanova29-Oct-12 0:32 
GeneralRe: Would you use a custom enumerator? Pin
DaveyM6929-Oct-12 1:57
professionalDaveyM6929-Oct-12 1:57 
GeneralRe: Would you use a custom enumerator? Pin
BobJanova29-Oct-12 3:41
BobJanova29-Oct-12 3:41 
GeneralRe: Would you use a custom enumerator? Pin
DaveyM6929-Oct-12 11:00
professionalDaveyM6929-Oct-12 11:00 
AnswerRe: Would you use a custom enumerator? Pin
Richard Deeming29-Oct-12 2:17
mveRichard Deeming29-Oct-12 2:17 
GeneralRe: Would you use a custom enumerator? Pin
DaveyM6929-Oct-12 5:19
professionalDaveyM6929-Oct-12 5:19 
AnswerRe: Would you use a custom enumerator? Pin
Clifford Nelson29-Oct-12 8:52
Clifford Nelson29-Oct-12 8:52 
GeneralRe: Would you use a custom enumerator? Pin
DaveyM6929-Oct-12 10:45
professionalDaveyM6929-Oct-12 10:45 
Clifford Nelson wrote:
there is not much reason to create a custom enumerator these days

That's why I asked, it felt somewhat unnecessary.

Clifford Nelson wrote:
Not sure why you are even bothering with an Enumerator given the alternatives
avaialable

There are many types in the library that are responsible for creating multiple instances of the interface IMyType (the quantity and implementation differs by the type) when required, and all these types need to be able to be passed to one common method so it can iterate over the interface instances - IEnumerable<IMyType> fits this scenario/concept perfectly, what is was designed for IMO.
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



Questionhow can we add a reference in c#.net project programmatically?? Pin
prani_partner26-Oct-12 19:45
prani_partner26-Oct-12 19:45 
AnswerRe: how can we add a reference in c#.net project programmatically?? Pin
Dave Kreskowiak27-Oct-12 3:37
mveDave Kreskowiak27-Oct-12 3:37 
AnswerRe: how can we add a reference in c#.net project programmatically?? Pin
Eddy Vluggen27-Oct-12 4:24
professionalEddy Vluggen27-Oct-12 4:24 
AnswerRe: how can we add a reference in c#.net project programmatically?? Pin
Clifford Nelson29-Oct-12 13:54
Clifford Nelson29-Oct-12 13:54 
QuestionApp Without Installation Pin
C-P-User-326-Oct-12 10:33
C-P-User-326-Oct-12 10:33 
AnswerRe: App Without Installation Pin
Ravi Bhavnani26-Oct-12 10:41
professionalRavi Bhavnani26-Oct-12 10:41 
AnswerRe: App Without Installation Pin
Clifford Nelson26-Oct-12 12:11
Clifford Nelson26-Oct-12 12:11 
AnswerRe: App Without Installation Pin
Eddy Vluggen27-Oct-12 4:28
professionalEddy Vluggen27-Oct-12 4:28 
QuestionBest way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
Praveen Raghuvanshi26-Oct-12 9:40
professionalPraveen Raghuvanshi26-Oct-12 9:40 
AnswerRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
cocis4826-Oct-12 11:13
cocis4826-Oct-12 11:13 
GeneralRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
Praveen Raghuvanshi27-Oct-12 7:39
professionalPraveen Raghuvanshi27-Oct-12 7:39 
AnswerRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
Eddy Vluggen27-Oct-12 4:34
professionalEddy Vluggen27-Oct-12 4:34 
GeneralRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
Praveen Raghuvanshi27-Oct-12 7:45
professionalPraveen Raghuvanshi27-Oct-12 7:45 
GeneralRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
cocis4827-Oct-12 16:01
cocis4827-Oct-12 16:01 
AnswerRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
BobJanova29-Oct-12 0:38
BobJanova29-Oct-12 0:38 
GeneralRe: Best way for 'OK' and 'Cancel' button implementation in a modal dialog Pin
Praveen Raghuvanshi31-Oct-12 7:59
professionalPraveen Raghuvanshi31-Oct-12 7:59 
QuestionInvoking a method using its 'string' name Pin
PozzaVecia26-Oct-12 8:28
PozzaVecia26-Oct-12 8:28 

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.