The goal is the loop through each descrimintated union cases and print out the description for each case e.g
type car =
| Benz
| Honda
member this.description() =
match this with
|Benz -> "Benz description"
|Honda -> "Honda description"
The calling code would use FSharpType.GetUnionCases typeof<Car> and loop through the union cases.
Is this possible to achieve in F#?