Interfaces
Many of you know that I’m pretty new to OOP and as such I’m continuously surprised by a lot of the goodies built into Visual Studio.NET. So if you’re an old hand at all of this then just feel free to skip this post. Anyway here’s my latest surprise. I just built my first Interface (IUser) which was cool but then when I went to create a class that implements it as soon as I type “Implements IUser” and hit Enter Visual Studio pre-enters all of the setup code for the class based upon what I’d put in the interface. It was one of those “Hey that was pretty cool,” moments. Well done again to the VS.NET team at Microsoft. I’m a VB guy so I haven’t tried it in C# yet but I’m sure it works the same.