System.Enum.GetNames()

Here are the examples of the csharp api System.Enum.GetNames() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : Enum.cs
with MIT License
from zios

public static int GetIndex(this Enum current){
			return current.GetNames().IndexOf(current.ToName());
		}