Difference between Field and Property in C#

Fields are variables of any type declared directly in class; Properties are pro versions of fields with additional capabilities of get and set. Find a detailed article about Fields and Properties in C# here- Fields and Properties in C#.

Fields

        public class Students
        {
            public int Id;
            public int RollNo;
            public string Name = "";
        }

Properties

        public class StudentsProperties
        {
            private int _age;
            private string _name = "";
            public int Id { get; set; }
            public string Name
            {
                get
                {
                    return _name;
                }
                set
                {
                    _name = value;
                }
            }
            public int Age
            {
                get
                {
                    return _age;
                }
            }
        }

Reference