I have method defined like this
public static T FromValue<T>(int value) where T : Enumeration, new()
    {
        var matchingItem = parse<T, int>(value, "value", item => item.Value == value);
        return matchingItem;
    }
this is something from this example
What i am doing is to call that method and pass int and get matching string from enum. So i tried doing like
string matchedString = MyclassName.FromValue<int>(0);
but this is not correct syntax as i dont know what and how to pass to this method FromValue. Will also be nice to get examples so i can read about it and solve myself in future.
Update I created class from Enumeration class in example like
  public  class MyClassName: Enumeration
{
    public static readonly MyClassName Dog
        = new MyClassName(0, "KL");
    public static readonly MyClassName CAT
        = new MyClassName(1, "CT");
    private MyClassName(int value, string displayName) : base(value, displayName) { }
}