S
shapper
Hello,
I have a enumeration named Levels and the function Levels2String:
Public Function Levels2String(ByVal myLevel As Level, ByVal culture
As String) As String
...
Basically the function returns a string for a given culture and level.
Now I created a list of type Level: Generic.List(Of Level)
What is the best way to convert the list of type level to a list of
type string using function Levels2String?
I believe I should make a loop and access each item in list of type
level and apply it the function but I am getting problems with it.
Thanks,
Miguel
I have a enumeration named Levels and the function Levels2String:
Public Function Levels2String(ByVal myLevel As Level, ByVal culture
As String) As String
...
Basically the function returns a string for a given culture and level.
Now I created a list of type Level: Generic.List(Of Level)
What is the best way to convert the list of type level to a list of
type string using function Levels2String?
I believe I should make a loop and access each item in list of type
level and apply it the function but I am getting problems with it.
Thanks,
Miguel