Hallo,
Im looking for the correct syntax for creating an attribute in c# with just a get accessor.
Something along the line of this:
Is that possible or do I have to resolve to this in order to get just the Get accessor?Code:public int ID { get;}
ThanksCode:int m_id; public int ID { get { return m_id; } }