Skip to content

Basic Programmer

To share what I learn very basically

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

Tag Archives: C# Object Initializers

C# – Object Initializers

Concise way to initialize a new object (or collection) with values. // No local variable name for the new Car instance needed! Collection Initializers Shortcut to create new instance of a generic collection AND initialize it by IMMEDIATELY adding new instances of given type.

Posted byDeniz Karadal03/08/201810/08/2018Posted inC#, Software LanguageTags:C# Collection Initializers, C# Object InitializersLeave a comment on C# – Object Initializers
  • 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