Click here to Skip to main content
11,701,855 members (43,113 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

.NET: String Constants vs Static Readonly Fields

, 13 Jan 2013 Apache 14.3K 6
If there is even a remote possibility that your “constant” value might change in the next version, make it a readonly field.




This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0


About the Author

Ivan Krivyakov
Technical Lead Thomson Reuters
United States United States
Ivan is a hands-on software architect/technical lead working for Thomson Reuters in the New York City area. At present I am mostly building complex multi-threaded WPF application for the financial sector, but I am also interested in cloud computing, web development, mobile development, etc.

Please visit my web site:

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150819.1 | Last Updated 13 Jan 2013
Article Copyright 2013 by Ivan Krivyakov
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid