Answer by Jon Skeet for Order of operations using Object Initializer Syntax
Yes.Apologies for getting interrupted (I have to actually do some work every so often). The spec doesn't explicitly say it, but it makes it pretty clear IMO in section 7.6.10.2:An object initializer...
View ArticleOrder of operations using Object Initializer Syntax
Does the order in which I set properties using the object initializer syntax get executed in the exact same order?For instance if I do this:var s = new Person { FirstName = "Micah", LastName =...
View Article
More Pages to Explore .....