Code generator for making those pesky property accessors

T

thechaosengine

Hi all,

Does anyone know of a decent code generator that would take in the details
of the variables I would like my class to have and then make the property
accessors from that information?

It seems I spend ages at the begining of a project just writting that same
old very elementary crap :)

Thanks all

tce
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

I don't know of any in VS.NET 2003 , in 2005 all you have to do is refactor
and select "Encapsulate field" it will create the property and IIRC will
search all the project files and change it to reference the property instead
of the field.

Cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top