How do you give a C# Auto-Property a default value? I either use the constructor, or revert to the old syntax.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Showing posts with label auto-properties. Show all posts
Showing posts with label auto-properties. Show all posts
Friday, May 18, 2012
How do you give a C# Auto-Property a default value?
Subscribe to:
Posts (Atom)