Page 1 of 1

C# Getter/Setter Macro

Posted: Fri May 16, 2008 12:40 am
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