Support us .Net Basics C# SQL ASP.NET ADO.NET MVC Slides C# Programs Subscribe Buy DVD

Part 27 - C# Tutorial - Properties in C#


Part 27 - C# Tutorial - Properties in C#


4 comments:

  1. Hi

    Your videos are just awesome.no words to describe the way what you are doing.It's great job.I am staying in Chennai.am working in a private company.I watched some of your videos in internet.It's really awesome.

    I am in a feasibility area in chennai.It's very difficult to watch videos in online.Internet is very slow sometimes i don't get internet connection.

    Are you selling these videos in the form of DVD?If you sell your videos,this could be really useful for people who are in feasibility area.

    Please sell all your videos.It will be really useful.if you sell your videos,i am the guy going to buy your videos first.

    This is my mail ID. rs.arjunan@gmail.com

    Bye..

    ReplyDelete
    Replies
    1. he sell go to http://pragimtech.com/Order.aspx

      Delete
  2. Hi Venkat,

    A little doubt here.

    What is the difference when we do not use getter and setter and when we use auto-implemented properties.

    Afterall we can make any changes to the fields from outside when we use auto-implemented properties, then why we use extra two words i.e., get; and set;

    ???

    Chandrakant Kumar

    ReplyDelete
  3. auto implemented get and set should be used only when there is no custom logic required in the get and set. Also with auto implemented get n set, the compiler automatically creates the private field in memory for public x { get; set; }

    ReplyDelete

If you like this website, please share with your friends on facebook and Google+ and recommend us on google using the g+1 button on the top right hand corner.