How to customise or format the new class template

I seeking to customise the class template when new class is created during C# programming for Visual Studio .net 2003 pro. Can anyone point to specific file location so I can modify them to my format below (mostly comment). This also apply to application window class and so on.

It save me typing for new class created each time.

public class Student
{
//==========================Field

//==========================Constructor
public Student(string name)
      {
      }
//==========================Method

//==========================Properties

//==========================Indexors
}

//==========================Driver
public void main()                  // Driver
{
}
riscyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chester_M_RagelCommented:
If you only want to change the class template file, open

%VS.Net Installation dir%\VC#\VC#Wizards\CSharpAddClassWiz\Templates\1033\NewCSharpFile.cs

take a copy of this file and replace the  it with this,



using System;

namespace [!output SAFE_NAMESPACE_NAME]
{
      /// <summary>
      /// Summary description for Student.
      /// </summary>
      public class Student
      {
            //==========================Field

            //==========================Constructor

            public Student(string name)
            {
            }
            //==========================Method

            //==========================Properties

            //==========================Indexors
      

            //==========================Driver
            public void main()               // Driver
            {
            }
      }
}
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.