Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
Event registration app with QR/Paypal
Home
Tuesday, April 24, 2012
How to set default value for Auto-Implemented Properties in C#
No direct way to do this.
Either set default value in Class constructor or design your property without auto-implemented
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment