C# implementation of accessors properties
Program.cs
Output
kodingwindow@kw:~/csharp$ dotnet run ——————————————————————————————————————————— Program to use the accessors properties ——————————————————————————————————————————— Fruit Name - Apple Fruit Color - Red Fruit Name - Apple Fruit Color - Red ——————————————————————————————————————————— kodingwindow@kw:~/csharp$
Advertisement