none
Difference between? RRS feed

  • Question

  • Hi,

    What is difference between these?

    public string courseName

    {

    get;

    set

    }

    vs

    public string CourseName;

    Thursday, July 18, 2013 4:37 AM

Answers

  • You can see a good post here about the properties and fields.

    http://stackoverflow.com/questions/295104/what-is-the-difference-between-a-field-and-a-property-in-c

    • Marked as answer by Arash_89 Thursday, July 18, 2013 5:25 AM
    Thursday, July 18, 2013 5:02 AM

All replies