using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Properties
{
    // Listing 3-37
    using System.Windows;

    public class Item
    {
        public Point Location { get; set; }
    } 


    class Examples37_38
    {
        //// Kod umieszczony w komentarzach gdyż ilustruje błąd
        //public static void AttemptToModifyValueTypeThroughProperty()
        //{
        //    // Listing 3-38
        //    var item = new Item();
        //    item.Location.X = 123;
        //}
    }
}
