✅ How to return null in a generalized method? - C#