Archive for April 30th, 2010

Auto Implemented Properties in .NET

If we want to create a class with a bunch of public properties , we generally do it by storing the value of the properties in private field. Eg : Class Student { private int id; public int ID { get { return id; } set { id=value; } } }

Read more...

5 comments - What do you think?
Posted by Senthil Kumar - April 30, 2010 at 9:46 pm

Categories: .NET, ASP.NET, Compact Framework / Windows Mobile, Visual Studio 2010   Tags: , , , , , , , , , , , , , ,

© 2011-2012 Senthil Kumar's Blog This is my personal blog .The opinions expressed here represent my own and not those of my employer . All Rights Reserved -- Copyright notice by Blog Copyright