Searching on groups of enumerator's members
From: Craig Kenisston (CraigKenisston_at_hotmail.com)
Date: 09/11/04
- Next message: Jared: "Re: Searching on groups of enumerator's members"
- Previous message: Slava M. Usov: "Re: How to retrieve serial number of OS or CPU for copy protection?"
- Next in thread: Jared: "Re: Searching on groups of enumerator's members"
- Reply: Jared: "Re: Searching on groups of enumerator's members"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 11 Sep 2004 15:25:41 -0500
Hi,
If have an enumerator like :
public enum {
op1,
op2,
op3,
op4,
op5}
// real list will contain about 30 members.
And I want to, let's say, group them in odd and evens, just to say an
example.
Then, I would be want to be able to say :
if (myOp.OpX is in the list of odd operators)
or do :
if (myOp.OpX is in the list of even operators)
What 's the C# approach to do this ?
I would this in Delphi very easy, but I don't find the C#'s correspoding
approach.
Regards,
- Next message: Jared: "Re: Searching on groups of enumerator's members"
- Previous message: Slava M. Usov: "Re: How to retrieve serial number of OS or CPU for copy protection?"
- Next in thread: Jared: "Re: Searching on groups of enumerator's members"
- Reply: Jared: "Re: Searching on groups of enumerator's members"
- Messages sorted by: [ date ] [ thread ]