3 posts tagged object initializers

Subscribe
  1. No one has claimed this blog

    Object initializers vs. Constructors

    http://skeevs.com/ post/ 34094168

    Object initializers vs. Constructors Do the introduction of object initializers in VS 2008 mean the end of constructors? Dim p As New Person With {.Name = “James Brown”, .Age = 60} Well, no. Constructors provide means for the class to implicate it’s required values/information during

    9 hours ago in skeevs · No authority yet
  2. No one has claimed this blog

    Generating object initializers with ReSharper

    http://blogs.jetbrains.com/ dotnet/ 2008/ 04/ generating-object-initializers-wit…

    ReSharper provides both a quick-fix and a context action to transform assignment statements into C# object initializers, and both are called “Use object initializer”. So what’s the difference between them?

  3. View all »

    Videos about object initializers

    1. Object Initializers in CSharp 3.0 and VB.NET 9
    2. Object Capabilities for Security
    3. GOOD Magazine Presents: Object Orange
    4. Enabling Object Search rather than Page Search
  4. No one has claimed this blog

    Collection Initializers

    http://haacked.com/ archive/ 2008/ 01/ 06/ collection-initializers.aspx

    File this in my learn something new every day bucket. I received an email from Steve Maine after he read a blog post in which I discuss the anonymous object as dictionary trick that Eilon came up with. He mentioned that there is an object initializer syntax for collections and dictionaries.

    Mentions by Day

    Posts tagged object initializers per day for the past 30 days.

    Chart of results for object initializers

    See your posts here

    To contribute to this page, include this code in your blog post: