Thanks to a co-worker, Chris Dereadt (thanks Chris), I have finally squashed one of my pet peeves with Visual Studio 2005.
To make all new classes public edit the Class.cs file in the following location:
C:Program FilesMicrosoft Visual Studio 8Common7IDEItemTemplatesCacheCSharp1033
(the drive is dependent on where you installed Visual Studio)
Add the word “public” in front of the class definition and from now on when you right-click a project and choose “Add Class” it will be a public class.
Thanks again Chris. You need to start blogging. =)
Post Footer automatically generated by Add Post Footer Plugin for wordpress.