Enum.TryParse("Active", out StatusEnum myStatus); ... String to enum c#. Copy. Enum. ... //Just set up an array of strings indexed by the enum.
確定! 回上一頁