C# help
im trying to type this code, but i have problems with using pet1.PetName, but i have declared them earlyer in my code
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1071005759053238382/image.png)
3 Replies
You'll need to use getters and setters for those private variables
E.g.
Intellisense on VS might be able to auto generate those for you
thanks man
Np ![Salute](https://cdn.discordapp.com/emojis/885742724626661436.png)
![Salute](https://cdn.discordapp.com/emojis/885742724626661436.png)