Answers for "get max value of an enum"

C#
1

get max enum value c#

var lastFoo = Enum.GetValues(typeof(Foo)).Cast<Foo>().Max();
Posted by: Guest on February-19-2021

C# Answers by Framework

Browse Popular Code Answers by Language