PrepAway - Latest Free Exam Questions & Answers

6 Comments on “Which keyword should you use?

    1. AydinNasirzadeh says:

      The SET keyword defines an accessor method in a property or indexer that assigns the value of the property or the indexer element. However, the contextual keyword VALUE is used in the set accessor in ordinary property declarations. It is similar to an input parameter on a method. The word VALUE references the value that client code is attempting to assign to the property.




      0



      0

Leave a Reply