Check this out: http://msdn2.microsoft.com/library/System.Web.aspx

You can substitute System.Web with whatever namespace

 (for example http://msdn2.microsoft.com/library/System.Data.SqlClient.aspx ).

You can even put in properties!

 http://msdn2.microsoft.com/library/System.Data.SqlClient.SqlConnection.ConnectionTimeout.aspx

Very nicely done!! This is awesome!