Back to the original request. If you want to (re)expose a public field through get/set functions, try a refactoring tool (or wait for Whidbey...) C# Refactory <http://www.xtreme-simplicity.net> (I've used this and its OK. Not perfect)
Here is two code templates I wrote myself. They are not refactoring the code, and they are written in C#. But I believe you can make changes to it to your liking.
Here are two templates that I use. They are not refactoring, but I think it would be useful. They are written in C# and I have my own convention of naming the variables. But you can modify the code to your liking. Add Property: #region Property %2 private %1 _%2; #region Comments /// <summary> /// Gets or Sets -? /// </summary> #endregion public %1 %2 { get{return _%2;} set{_%2 = value;} } #endregion Add String Property: #region Property %1 private string _%1; #region Comments /// <summary> /// This is the MaxLength of %1 /// </summary> #endregion public static int Limit%1 = 25; #region Comments /// <summary> /// Gets or Sets -? /// </summary> #endregion public string %1 { get{return _%1;} set { if (value.Length > Limit%1) throw new ArgumentException("Cannot exceed " + Limit%1 + " characters", "%1"); _%1 = value; } } #endregion