I don't know how is correct way to output private string child. For example if I want to output "name" in **private**, compiler show me error: *inaccessible due its protection level*. Proper way is to use **public** "Name" instead of private "name"? Because I want to access it via private and don't know how to fix the error. 

```
class Person
        {
            private string name, lastname;
            public string Name
            {
                get { return name; }
                set { name = value; }
            }

            public string Lastname
            {
                get { return lastname; }
                set { lastname = value; }

            }
        }

 class Program
    {
        static void Main(string[] args)
        {
            Person person1 = new Person("Matt", "Houdson");

Console.WriteLine("Name: {0}", person1.name);

  //is inaccessible due its protection level

```