Click here to Skip to main content
13,148,573 members (52,996 online)
Click here to Skip to main content
Articles » Languages » C# » General » Alternatives
Add your own
alternative version

Tagged as

Stats

7K views
2 bookmarked
Posted 23 Aug 2011

C# Automatic Property Default Value Extension Methods

, 23 Aug 2011
For .NET 4.0:using System;using System.Collections.Generic;using System.ComponentModel;using System.Reflection;using System.Linq.Expressions;static class AutomaticPropertyExtensions{ private static class Cache where T : class { public static readonly...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

21 Aug 2011
Itai Basel
1 alternative  
This article shows how to automatically initialize/reset automatic properties' default values.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Richard Deeming
Software Developer Nevalee Business Solutions
United Kingdom United Kingdom
No Biography provided

Pro
| | Privacy | Terms of Use | Mobile
Web01 | 2.8.170924.2 | Last Updated 23 Aug 2011
Article Copyright 2011 by Richard Deeming
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid