How do I get visual studio to suggest code like this ? - C#