Geeks With Blogs
DevDevin October 2007 Entries
Coding Shortcuts in C# 3.0
Default get/set accessors: public class Person { public string Name { get; set; } public int Age { get; set; } } Property initialization: Person author = new Person { Name = "Jay Miller", Age = 40 }; From this article: http://www.codeguru.com/csh... ......

Posted On Tuesday, October 30, 2007 7:24 AM

Copyright © Devin A. Rychetnik | Powered by: GeeksWithBlogs.net | Join free