If I want the value based on the Name, I use Enum.Parse to get an Enum variable and then cast it back into an int. You can see this here ...
確定! 回上一頁