public T GetRequiredObject<T>()
Public Function GetRequiredObject(Of T) As T
public: generic<typename T> T GetRequiredObject()