According to the books and websites I have checked when I create a class i want to make sure that the properties are not directly accessible. As such make them Private and then make getters and setters.
As such I have the following for a Card class
private Suits _suit;
public Suits Suit { get; set; }
private Values _value;
public Values Value { get; set; }
public Suits Suit { get; set; }
public Values Value { get; set; }
After I completed the class and did test on it, it states that Suit has 2 references and that _suit is unused. It is the same with Value, it is marked with 8 references and _value is unused. I deleted the two private statements (Creating the second block of code) and the program that I was working on did not change. What is the point of creating a private and then a public if one does not get used. Am I missing something?