public int A; 나

public int A { get; set; }

은 어떨 때 쓰는 거임?


get, set은 

public int A { get => a; set => a = value; }

private int a;

이렇게 작동하는 건 알겠는데, 어떨 때 쓰는 거임?