Answers for "amount of items in enum c#"

0

c# get amount of elements in enum

int count = Enum.GetValues( typeof( ContentAlignment ) ).Length;
Posted by: Guest on April-05-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language