S
shapper
Hello,
I have an Enum and a Generic.List(Of Enum)
1 Public Enum Mode
2 Count
3 Day
4 Month
5 End Enum
Can my Generic List have duplicated values?
For example:
1 Dim gl As Generic.List(Of Mode)
2 gl.Add(Mode.Count)
3 gl.Add(Mode.Count)
I suppose Mode.Count will be added only once, right?
And how can I find if the Mode.Count has been added to my Generic
List?
Thanks,
Miguel
I have an Enum and a Generic.List(Of Enum)
1 Public Enum Mode
2 Count
3 Day
4 Month
5 End Enum
Can my Generic List have duplicated values?
For example:
1 Dim gl As Generic.List(Of Mode)
2 gl.Add(Mode.Count)
3 gl.Add(Mode.Count)
I suppose Mode.Count will be added only once, right?
And how can I find if the Mode.Count has been added to my Generic
List?
Thanks,
Miguel