[Updated] TIP: A Quick Way to Write Public Properties in C#
Learn about a very quick and easy way to create public properties for member variables inside a class using regular expressions.
Learn about a very quick and easy way to create public properties for member variables inside a class using regular expressions.
You can employ macros to write code for you. Learn how to use the macro engine in VS 2005 to write a code generator that implements the refactoring Encapsulate Field for VB.NET.
Paul Kimmel introduces the VS.NET Macros IDE and gets you started on implementing the LineCounter tool. By using VS.NET's extensibility object model in conjunction with macros, you can automate a wide variety of tasks to extend and customize VS.NET.
Learn how to use macros to automate certain kinds of refactoring tasks that involve systematic code replacement.