2
0
mirror of synced 2025-01-12 01:24:23 +00:00
2023-09-20 10:51:47 +02:00

11 lines
194 B
C#

namespace Utils
{
public static class ParseEnum
{
public static T Parse<T>(string value)
{
return (T)Enum.Parse(typeof(T), value, true);
}
}
}