C# Getter/Setter Macro

Find Tips and tricks on how to better use the Zeus IDE. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

C# Getter/Setter Macro

Post by jussij »

By running the Zeus C# Getter/Setter Macro it is possible to take a field defintions like this:

Code: Select all

    private Table table; 
and produce getter and setter function like this:

Code: Select all

    private Table table; 

    public Table Table
    {
         get { return table; }
         set { table = value; }
    }
Cheers Jussi
Post Reply