S
sklett
I'd like to create a method like this:
private T FindCustomField<T>(string fieldID)
{
}
the compiler doesn't like that very much, I'm not sure if it's even possible
to use a Type parameter as the return type. Anyone know?
Thanks,
Steve
private T FindCustomField<T>(string fieldID)
{
}
the compiler doesn't like that very much, I'm not sure if it's even possible
to use a Type parameter as the return type. Anyone know?
Thanks,
Steve