Generic method which should only work for reference types
public <T> GetSomething<T>(string parameter) where T: ? { T temp =null; if(.......) return temp; |
public <T> GetSomething<T>(string parameter) where T: ? { T temp =null; if(.......) return temp; |