I'd like to get a string representation of the underlying type of the enum.
Dim target As System.ConsoleColor = ConsoleColor.Cyan
Dim actual = 'What goes here?
Dim expected = "11"
I'd like to get a string representation of the underlying type of the enum.
Dim target As System.ConsoleColor = ConsoleColor.Cyan
Dim actual = 'What goes here?
Dim expected = "11"
Copyright © 2021 Jogjafile Inc.
In C# terms; you could assume int:
or if you don't want the assumption: