Hi all,
Assume that i have an enum like this.
enum TestEnum {
Received = 1,
Started ,
Finished ,
Sent
}
I am saving this enum values as string in database. So, when i
retrieve them from the database, how can i parse the string into
TestEnum ? In vb. net, i can use
[Enum].Parse(GetType( TestEnum), "Started")
How to do this in D ?