I have a generic method like this-
public static void GenericMethod<T1,T2>(SomeType typeObj, List<T1> entities) where T2 : SomeEntity
{
}
And I'd like to pass this method to another one as Action. Like this-
public void CallingMethod(type1 value1, type2 value, Action<???> method)
{
}
I can't figure out how to write the Action parameter. Any help please? Thanks in advance.