Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
(Move to ...)
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
‹
›
Home
View web version
No comments:
Post a Comment