Skip to content

Basic Programmer

To share what I learn very basically

  • Home
  • News
  • Blog
  • Books
  • About
  • Contact
  • Twitter
  • Linkedin
  • GitHub

Tag Archives: C# Constants

C# – Creating Constants with the const Keyword

Remove magic values (strings, integers, etc) using permanent, immutable identifiers. Only use for things that NEVER change – not for product prices, etc. Define const at local or field.  

Posted byDeniz Karadal09/08/2018Posted inC#, Software LanguageTags:C# ConstantsLeave a comment on C# – Creating Constants with the const Keyword
  • Home
  • News
  • Blog
  • Books
  • About
  • Contact
Basic Programmer, Create a website or blog at WordPress.com
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Basic Programmer
    • Already have a WordPress.com account? Log in now.
    • Basic Programmer
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar