ConvertToProperties Macro
Originally published on my old blog at cumps.be on July 2, 2004.
For everyone who received .NET Magazine #5, there’s an article in there at page 53 about cleaning up your code.
Jan Tielens mentions a ConvertToProperties macro, which is really sweet!
But there has been a printing error or something, the link went missing on page 55 in the bottom box. (http://xxx/…)
So, here is it: Create Property Macro for C#.
The version on the site doesn’t correspond to the screenshots, it doesn’t use mVariable (any more?), but replaces it with _variable (which I prefer).
Be sure to get this macro! It saves you a lot off time ;)
You May Also Like
Passing bitwise OR enum values
Everyone who has ever used a Regex knows this form of parameter:
UPX - the Ultimate Packer for eXecutables
A tool I used a lot on my .exe's when creating VB6 applications is UPX (which stands for the Ultimate Packer for eXecutables).
VBDOX - Documentation Generator for VB6
A long time ago I talked about how great NDoc is.



